tty:添加让 tty 拒绝新 ldisc 的选项(CVE-2024-40966)

admin 2024-07-22 15:12:20 Ali_nvd 来源:ZONE.CI 全球网 0 阅读模式
tty:添加让 tty 拒绝新 ldisc 的选项(CVE-2024-40966)

CVE编号

CVE-2024-40966

利用情况

暂无

补丁情况

N/A

披露时间

2024-07-12
漏洞描述
In the Linux kernel, the following vulnerability has been resolved: tty: add the option to have a tty reject a new ldisc ... and use it to limit the virtual terminals to just N_TTY. They are kind of special, and in particular, the "con_write()" routine violates the "writes cannot sleep" rule that some ldiscs rely on. This avoids the BUG: sleeping function called from invalid context at kernel/printk/printk.c:2659 when N_GSM has been attached to a virtual console, and gsmld_write() calls con_write() while holding a spinlock, and con_write() then tries to get the console lock.
解决建议
建议您更新当前系统或软件至最新版,完成漏洞的修复。
参考链接
https://git.kernel.org/stable/c/287b569a5b914903ba7c438a3c0dbc3410ebb409
https://git.kernel.org/stable/c/3c6332f3bb1578b5b10ac2561247b1d6272ae937
https://git.kernel.org/stable/c/5920ac19964f9e20181f63b410d9200ddbf8dc86
https://git.kernel.org/stable/c/6bd23e0c2bb6c65d4f5754d1456bc9a4427fc59b
CVSS3评分 N/A
  • 攻击路径 N/A
  • 攻击复杂度 N/A
  • 权限要求 N/A
  • 影响范围 N/A
  • 用户交互 N/A
  • 可用性 N/A
  • 保密性 N/A
  • 完整性 N/A
N/A
CWE-ID 漏洞类型
- avd.aliyun.com
weinxin
版权声明
本站原创文章转载请注明文章出处及链接,谢谢合作!
评论:0   参与:  0