Race condition in sshd(8)
A critical vulnerability in sshd(8) was present in Portable OpenSSH versions 8.5p1 and 9.7p1 (inclusive) that may allow arbitrary code execution with root privileges.
https://www.openssh.com/releasenotes.html
Qualys Security Advisory: https://www.mail-archive.com/[email protected]/msg00235.html
Mitigation: set
Fixing commit: https://github.com/openssh/openssh-portable/commit/81c1099d22b81ebfd20a334ce986c4f753b0db29
Because this fix is part of a large commit (81c1099), on top of an even larger defense-in-depth commit (03e3de4, "Start the process of splitting sshd into separate binaries"), it might prove difficult to backport. In that case, the signal handler race condition itself can be fixed by removing or commenting out the async-signal-unsafe code from the sshsigdie() function; for example:
A critical vulnerability in sshd(8) was present in Portable OpenSSH versions 8.5p1 and 9.7p1 (inclusive) that may allow arbitrary code execution with root privileges.
https://www.openssh.com/releasenotes.html
Qualys Security Advisory: https://www.mail-archive.com/[email protected]/msg00235.html
Mitigation: set
LoginGraceTime=0 in sshd_configFixing commit: https://github.com/openssh/openssh-portable/commit/81c1099d22b81ebfd20a334ce986c4f753b0db29
Because this fix is part of a large commit (81c1099), on top of an even larger defense-in-depth commit (03e3de4, "Start the process of splitting sshd into separate binaries"), it might prove difficult to backport. In that case, the signal handler race condition itself can be fixed by removing or commenting out the async-signal-unsafe code from the sshsigdie() function; for example:
sshsigdie(const char *file, const char *func, int line, int showfunc,
LogLevel level, const char *suffix, const char *fmt, ...)
{
+#if 0
va_list args;
va_start(args, fmt);
sshlogv(file, func, line, showfunc, SYSLOG_LEVEL_FATAL,
suffix, fmt, args);
va_end(args);
+#endif
_exit(1);
}▓▓▓▓▓▓▓▓▓▓░░░░░░░░░░ 50%
Chips and Cheese
Examining the Nintendo Switch (Tegra X1) Video Engine
#ChipAndCheese
Telegraph | source
(author: clamchowder)
Examining the Nintendo Switch (Tegra X1) Video Engine
#ChipAndCheese
Telegraph | source
(author: clamchowder)
如果你过于悲观,就意味着你会做出不必要的牺牲,试图减轻实际上不存在的风险。
#academic
CVPR 2024圆满落幕:海报创意不断,学者穿cos服装讨论学术问题?!这届CVPR真是太有趣了
https://mp.weixin.qq.com/s/LI0CdPKIQYRitAH8eJ-Rtw
CVPR 2024圆满落幕:海报创意不断,学者穿cos服装讨论学术问题?!这届CVPR真是太有趣了
https://mp.weixin.qq.com/s/LI0CdPKIQYRitAH8eJ-Rtw
要知道很多人勉强活着,日复一日,年复一年,不知道何为欢乐,也不知道何为幸福,只是凭着一种机械的习惯。
Ведь многие живут кое-как, изо дня в день, из года в год, не зная ни радости, ни счастья, а лишь одну механическую привычку.
Л. Е. 乌利茨卡娅《库科茨基医生的病案》
陈方丨译 source
Ведь многие живут кое-как, изо дня в день, из года в год, не зная ни радости, ни счастья, а лишь одну механическую привычку.
Л. Е. 乌利茨卡娅《库科茨基医生的病案》
陈方丨译 source
Chips and Cheese
Testing AMD’s Bergamo: Zen 4c Spam
#ChipAndCheese
Telegraph | source
(author: clamchowder)
Testing AMD’s Bergamo: Zen 4c Spam
#ChipAndCheese
Telegraph | source
(author: clamchowder)
Zen 5 抢先体验:Ryzen AI 9 365 (Strix Point SoC) 简单测试 https://blog.hjc.im/zen5-preliminary-review.html
(以后文章不发知乎了)
(以后文章不发知乎了)
Chips and Cheese
Tracing Intel’s Atom Journey: Goldmont Plus
#ChipAndCheese
Telegraph | source
(author: clamchowder)
Tracing Intel’s Atom Journey: Goldmont Plus
#ChipAndCheese
Telegraph | source
(author: clamchowder)
金枪鱼之夜:支持多种 ISA 扩展的二进制背后的秘密
随着算力需求的提升,我们不断往 CPU 加入新的 ISA 扩展来提高指令表达能力。然而,在软件分发过程中,为每一种 CPU 所支持的 ISA 扩展组合进行编译与分发并不现实,无法接受各种组合的软件构建成本以及镜像站的存储成本。因此,在目前的软件中,往往通过增加性能敏感函数针对不同 ISA 的实现,配合一些函数重定向方法来解决问题。然而,这些方法或多或少存在性能或安全的问题,特别是 IFUNC 机制更是被著名的 xz 软件后门所利用。因此,cyy 希望在 Tunight 上与大家分享目前常见软件实现一个二进制支持多种 ISA 扩展的方法,以及探讨目前的性能与安全问题的案例以及可行的解决方案。
- 主讲人:陈泱宇
- 时间:2024/06/08(校历第十五周周六) 19:00-21:00 UTC +08:00
- 活动形式:线下 + 线上会议 + 直播
- 地点:三教 3104
- 线上会议:Zoom 会议: 970 8479 0044, 密码 20240608
- 直播链接:YouTube 直播: https://youtube.com/live/s78ynPBsTtY
随着算力需求的提升,我们不断往 CPU 加入新的 ISA 扩展来提高指令表达能力。然而,在软件分发过程中,为每一种 CPU 所支持的 ISA 扩展组合进行编译与分发并不现实,无法接受各种组合的软件构建成本以及镜像站的存储成本。因此,在目前的软件中,往往通过增加性能敏感函数针对不同 ISA 的实现,配合一些函数重定向方法来解决问题。然而,这些方法或多或少存在性能或安全的问题,特别是 IFUNC 机制更是被著名的 xz 软件后门所利用。因此,cyy 希望在 Tunight 上与大家分享目前常见软件实现一个二进制支持多种 ISA 扩展的方法,以及探讨目前的性能与安全问题的案例以及可行的解决方案。
- 主讲人:陈泱宇
- 时间:2024/06/08(校历第十五周周六) 19:00-21:00 UTC +08:00
- 活动形式:线下 + 线上会议 + 直播
- 地点:三教 3104
- 线上会议:Zoom 会议: 970 8479 0044, 密码 20240608
- 直播链接:YouTube 直播: https://youtube.com/live/s78ynPBsTtY