# 摘要
In the Linux kernel, the following vulnerability has been resolved:
ext4: fix null-ptr-deref in ext4_write_info
I caught a null-ptr-deref bug as follows:
==================================================================
KASAN: null-ptr-deref in range [0x0000000000000068-0x000000000000006f]
CPU: 1 PID: 1589 Comm: umount Not tainted 5.10.0-02219-dirty #339
RIP: 0010:ext4_write_info+0x53/0x1b0
[...]
Call Trace:
dquot_writeback_dquots+0x341/0x9a0
ext4_sync_fs+0x19e/0x800
__sync_filesystem+0x83/0x100
sync_filesystem+0x89/0xf0
generic_shutdown_super+0x79/0x3e0
kill_block_super+0xa1/0x110
deactivate_locked_super+0xac/0x130
deactivate_super+0xb6/0xd0
cleanup_mnt+0x289/0x400
__cleanup_mnt+0x16/0x20
task_work_run+0x11c/0x1c0
exit_to_user_mode_prepare+0x203/0x210
syscall_exit_to_user_mode+0x5b/0x3a0
do_syscall_64+0x59/0x70
entry_SYSCALL_64_after_hwframe+0x44/0xa9
==================================================================
Above issue may happen as follows:
-------------------------------------
exit_to_user_mode_prepare
task_work_run
__cleanup_mnt
cleanup_mnt
deactivate_super
deactivate_locked_super
kill_block_super
generic_shutdown_super
shrink_dcache_for_umount
dentry = sb->s_root
sb->s_root = NULL <--- Here set NULL
sync_filesystem
__sync_filesystem
sb->s_op->sync_fs > ext4_sync_fs
dquot_writeback_dquots
sb->dq_op->write_info > ext4_write_info
ext4_journal_start(d_inode(sb->s_root), EXT4_HT_QUOTA, 2)
d_inode(sb->s_root)
s_root->d_inode <--- Null pointer dereference
To solve this problem, we use ext4_journal_start_sb directly
to avoid s_root being used.
以上是 CVE 记录(cvelist)中的原文,未经改写。
# 利用条件
按 CVSS 向量说明攻击需要的条件。
- 攻击途径
AV:L - 本地:需要本地或 SSH 会话,或诱使用户在本机上操作
- 攻击复杂度
AC:L - 低:不依赖特殊条件,攻击者可预期重复成功
- 所需权限
PR:L - 低:普通用户权限
- 用户交互
UI:N - 无:除攻击者外不需要任何人配合
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CVSS 3.1 向量,来自 CVE 记录,由 ADP CISA-ADP 补充。
# 事件记录
+DIS披露
CVE 记录发布,编号分配方是 Linux。CVSS 5.5,中危。
来源 cvelist · 本站 批量导入 · 原始记录
{
"id": 279608,
"type": "disclosed",
"source": "cvelist",
"url": "https://www.cve.org/CVERecord?id=CVE-2022-50344",
"occurred_at": "2025-09-16T16:11:23.345Z",
"observed_at": "2026-11-13T05:37:51.196939Z",
"is_backfill": true,
"dedupe_key": "",
"detail": {
"cvss": {
"source": "adp:CISA-ADP",
"vector": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H",
"version": "3.1",
"base_score": 5.5,
"base_severity": "MEDIUM"
},
"ssvc": {
"timestamp": "2026-01-14T18:20:39.263791Z",
"automatable": "no",
"exploitation": "none",
"technical_impact": "partial"
},
"state": "PUBLISHED",
"date_published": "2025-09-16T16:11:23.345Z",
"assigner_short_name": "Linux"
}
}
# 纠错
报告错误或缺失
页面有误或缺失?告诉编辑;采纳后在本页修订记录公开说明,上游数据不会被改动。
无法确认登录状态,请刷新页面后再提交纠错。
请先在账号页设置公开用户名:被采纳的纠错会以它署名。
设置用户名
你的账号已被封禁,暂时不能提交纠错。
# 研究员讨论
近 7 天有 0 位研究员提到
研究员在 X 上提到此 CVE 的帖子,原文照录,nday 不核实。
尚未采集到名单内研究员在 X 上提到此 CVE 的帖子。
# 讨论
0 条评论
无法确认你的登录状态,刷新页面后再发表评论。
评论以 @用户名 署名。请先在账号页设置用户名。
前往账号页
你的账号已被封禁,不能发表、回复、编辑或举报评论;仍可删除自己的评论。
格式
↵↵- 空一行:新段落
↵- 换行:原样保留
*…*- 强调(斜体)
**…**- 加粗
`…`- 行内代码
```- 单独一行:开始和结束代码块
> …- 引用
- …- 列表
1. …- 编号列表
[…](https://…)- 链接(仅限 http 和 https)
https://…- 裸地址:自动成为链接
CVE-2026-1234- 链接到本站该漏洞页
\*- 按原样显示该字符
标题、图片、表格、嵌套列表和 HTML 都按纯文本显示。
新账号发的链接显示为纯文本;CVE 编号始终可点击。