CVE-2026-99548
smb: client: fix early procfs exposure race
- CVSS
- —
- EPSS
- 0.20% (p11)
- Published
- 2026-11-19
- Age
- 15d old
- Modified
- 2026-11-23
- Product
- Linux Linux
Description
In the Linux kernel, the following vulnerability has been resolved: smb: client: fix early procfs exposure race Currently, init_cifs() calls cifs_proc_init() near the beginning of the function, before INIT_LIST_HEAD, leading to a momentarily uninitialized, but exposed, procfs. If a userspace process reads this empty procfs, iterating over a zeroed list_head leads to a NULL pointer dereference and a kernel oops/panic. For example, if a delay is added between cifs_proc_init() and INIT_LIST_HEAD, and a userspace process is polling /proc/fs/cifs/DebugData, the following oops occurs: BUG: kernel NULL pointer dereference, address: 0000000000000608 Oops: Oops: 0000 [#1] SMP PTI CPU: 0 UID: 0 PID: 3477 Comm: cat Not tainted 7.3.0-02212-g4df4d2a577db-dirty #6 PREEMPT(lazy) RIP: 0010:cifs_debug_data_proc_show+0x103/0xd80 [cifs] Call Trace: <TASK> ? seq_read_iter+0x86/0x400 ? seq_read_iter+0x86/0x400 seq_read_iter+0x183/0x400 proc_reg_read_iter+0x62/0x90 copy_splice_read+0x215/0x310 splice_file_to_pipe+0xec/0x1c0 do_splice+0x4b8/0x780 __se_sys_splice+0x18f/0x250 do_syscall_64+0x109/0x330 entry_SYSCALL_64_after_hwframe+0x77/0x7f </TASK> Fix this by moving cifs_proc_init() down in init_cifs(), ensuring it runs only after all internal lists, locks, counters, and workqueues are fully ready, but before registering the filesystem. Update the error cleanup ladder and exit_cifs() to maintain proper LIFO order.
Fixed in
2a808ab4b69a3aa8b4119f39179c8e5c3d4a85f9 · 31209411c4f98158b41508b7f90583e8cf5d6076 · 4d6e1b44d1fbfa70b045a670b18200dc4824226b · 6.12.117 · 6.18.61 · 6c5b5d5c3433c463480ea13c7ffbe1d2c99b33a7 · 7.3.2 · 7b1afb631395c958993cda4631002258ef4151ea · 8b04f2b6665612cd1c9a6efd3ca996c4a7f041fd · 8c4a58d59a7201c944e12406c7b269d4c708e8f8 · cfaec5094017bd9d41a0572325ec2cec4f7d5e31
Affected packages
| Ecosystem | Package | Range | Fixed |
|---|---|---|---|
| Linux | Kernel | >=2.6.12, <6.12.117 | 6.12.117 |
| Linux | Kernel | >=6.13.0, <6.18.61 | 6.18.61 |
| Linux | Kernel | >=6.19.0, <7.3.2 | 7.3.2 |
| vendor | Linux | >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, <2a808ab4b69a3aa8b4119f39179c8e5c3d4a85f9 | 2a808ab4b69a3aa8b4119f39179c8e5c3d4a85f9 |
| vendor | Linux | >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, <31209411c4f98158b41508b7f90583e8cf5d6076 | 31209411c4f98158b41508b7f90583e8cf5d6076 |
| vendor | Linux | >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, <4d6e1b44d1fbfa70b045a670b18200dc4824226b | 4d6e1b44d1fbfa70b045a670b18200dc4824226b |
| vendor | Linux | >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, <6c5b5d5c3433c463480ea13c7ffbe1d2c99b33a7 | 6c5b5d5c3433c463480ea13c7ffbe1d2c99b33a7 |
| vendor | Linux | >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, <7b1afb631395c958993cda4631002258ef4151ea | 7b1afb631395c958993cda4631002258ef4151ea |
| vendor | Linux | >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, <8b04f2b6665612cd1c9a6efd3ca996c4a7f041fd | 8b04f2b6665612cd1c9a6efd3ca996c4a7f041fd |
| vendor | Linux | >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, <8c4a58d59a7201c944e12406c7b269d4c708e8f8 | 8c4a58d59a7201c944e12406c7b269d4c708e8f8 |
| vendor | Linux | >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, <cfaec5094017bd9d41a0572325ec2cec4f7d5e31 | cfaec5094017bd9d41a0572325ec2cec4f7d5e31 |
Sources
- NVD · first seen 15d ago · NVD terms of use
- OSV · first seen 15d ago · CC-BY 4.0
- CVE List · first seen 15d ago · CVE Terms of Use
References
- https://git.kernel.org/stable/c/cfaec5094017bd9d41a0572325ec2cec4f7d5e31 other
- https://git.kernel.org/stable/c/4d6e1b44d1fbfa70b045a670b18200dc4824226b other
- https://git.kernel.org/stable/c/31209411c4f98158b41508b7f90583e8cf5d6076 other
- https://git.kernel.org/stable/c/7b1afb631395c958993cda4631002258ef4151ea other
- https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git package
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99548.json advisory
- https://nvd.nist.gov/vuln/detail/CVE-2026-99548 advisory
- https://git.kernel.org/stable/c/2a808ab4b69a3aa8b4119f39179c8e5c3d4a85f9 other
- https://git.kernel.org/stable/c/6c5b5d5c3433c463480ea13c7ffbe1d2c99b33a7 other
- https://git.kernel.org/stable/c/8b04f2b6665612cd1c9a6efd3ca996c4a7f041fd other
- https://git.kernel.org/stable/c/8c4a58d59a7201c944e12406c7b269d4c708e8f8 other