Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2024-26906— x86/mm: Disallow vsyscall page read for copy_from_kernel_nofault()

Quick assessment

Affected
Linux Linux
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核。 Linux kernel存在安全漏洞,该漏洞源于允许copy_from_kernel_nofault() 读取 vsyscall 页面。

AI Predicted 7.5 Difficulty: Hard EPSS 0.25% · P16

Possible ATT&CK Techniques 1 AI

T1056 · Input Capture

Affected Version Matrix 14

VendorProduct Version RangeStatus
Linux Linux 75a1a607bb7e6d918be3aca11ec2214a275392f4< 6e4694e65b6db4c3de125115dd4f55848cc48381 affected
75a1a607bb7e6d918be3aca11ec2214a275392f4< e8a67fe34b76a49320b33032228a794f40b0316b affected
75a1a607bb7e6d918be3aca11ec2214a275392f4< f175de546a3eb77614d94d4c02550181c0a8493e affected
75a1a607bb7e6d918be3aca11ec2214a275392f4< 57f78c46f08198e1be08ffe99c4c1ccc12855bf5 affected
75a1a607bb7e6d918be3aca11ec2214a275392f4< 29bd6f86904682adafe9affbc7f79b14defcaff8 affected
75a1a607bb7e6d918be3aca11ec2214a275392f4< 32019c659ecfe1d92e3bf9fcdfbb11a7c70acd58 affected
5.5 affected
< 5.5 unaffected
… +6 more rows
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2024-26906

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
x86/mm: Disallow vsyscall page read for copy_from_kernel_nofault()
Source: CVE Program / CVE List V5
Vulnerability Description
In the Linux kernel, the following vulnerability has been resolved: x86/mm: Disallow vsyscall page read for copy_from_kernel_nofault() When trying to use copy_from_kernel_nofault() to read vsyscall page through a bpf program, the following oops was reported: BUG: unable to handle page fault for address: ffffffffff600000 #PF: supervisor read access in kernel mode #PF: error_code(0x0000) - not-present page PGD 3231067 P4D 3231067 PUD 3233067 PMD 3235067 PTE 0 Oops: 0000 [#1] PREEMPT SMP PTI CPU: 1 PID: 20390 Comm: test_progs ...... 6.7.0+ #58 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996) ...... RIP: 0010:copy_from_kernel_nofault+0x6f/0x110 ...... Call Trace: <TASK> ? copy_from_kernel_nofault+0x6f/0x110 bpf_probe_read_kernel+0x1d/0x50 bpf_prog_2061065e56845f08_do_probe_read+0x51/0x8d trace_call_bpf+0xc5/0x1c0 perf_call_bpf_enter.isra.0+0x69/0xb0 perf_syscall_enter+0x13e/0x200 syscall_trace_enter+0x188/0x1c0 do_syscall_64+0xb5/0xe0 entry_SYSCALL_64_after_hwframe+0x6e/0x76 </TASK> ...... ---[ end trace 0000000000000000 ]--- The oops is triggered when: 1) A bpf program uses bpf_probe_read_kernel() to read from the vsyscall page and invokes copy_from_kernel_nofault() which in turn calls __get_user_asm(). 2) Because the vsyscall page address is not readable from kernel space, a page fault exception is triggered accordingly. 3) handle_page_fault() considers the vsyscall page address as a user space address instead of a kernel space address. This results in the fix-up setup by bpf not being applied and a page_fault_oops() is invoked due to SMAP. Considering handle_page_fault() has already considered the vsyscall page address as a userspace address, fix the problem by disallowing vsyscall page read for copy_from_kernel_nofault().
Source: CVE Program / CVE List V5
CVSS Information
N/A
Source: CVE Program / CVE List V5
Vulnerability Type
N/A
Source: CVE Program / CVE List V5
Vulnerability Title
Linux kernel 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核。 Linux kernel存在安全漏洞,该漏洞源于允许copy_from_kernel_nofault() 读取 vsyscall 页面。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
Linux Linux 75a1a607bb7e6d918be3aca11ec2214a275392f4 ~ 6e4694e65b6db4c3de125115dd4f55848cc48381 -
Linux Linux 5.5 -

II. Public POCs for CVE-2024-26906

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2024-26906

请登录查看更多情报信息。

Mailing List Discussions for CVE-2024-26906 (1)

Other References for CVE-2024-26906 (6)

Same Patch Batch · Linux · 2024-04-17 · 100 CVEs total

CVE-2024-26877 9.8 CRITICAL crypto: xilinx - call finalize with bh disabled
CVE-2024-26853 9.8 CRITICAL igc: avoid returning frame twice in XDP_REDIRECT
CVE-2024-26828 9.4 CRITICAL cifs: fix underflow in parse_server_interfaces()
CVE-2024-26856 8.8 HIGH net: sparx5: Fix use after free inside sparx5_del_mact_entry
CVE-2024-26822 8.7 HIGH smb: client: set correct id, uid and cruid for multiuser automounts
CVE-2024-26830 8.4 HIGH i40e: Do not allow untrusted VF to remove administratively set MAC
CVE-2024-26823 7.8 HIGH irqchip/gic-v3-its: Restore quirk probing for ACPI-based systems
CVE-2024-26880 7.8 HIGH dm: call the resume method on internal suspend
CVE-2024-26919 7.8 HIGH usb: ulpi: Fix debugfs directory leak
CVE-2024-26883 7.8 HIGH bpf: Fix stackmap overflow check on 32-bit arches
CVE-2024-26885 7.8 HIGH bpf: Fix DEVMAP_HASH overflow check on 32-bit arches
CVE-2024-26838 7.8 HIGH RDMA/irdma: Fix KASAN issue with tasklet
CVE-2024-26870 7.8 HIGH NFSv4.2: fix nfs4_listxattr kernel BUG at mm/usercopy.c:102
CVE-2024-26869 7.8 HIGH f2fs: fix to truncate meta inode pages forcely
CVE-2024-26865 7.8 HIGH rds: tcp: Fix use-after-free of net in reqsk_timer_handler().
CVE-2024-26864 7.8 HIGH tcp: Fix refcnt handling in __inet_hash_connect().
CVE-2024-26898 7.8 HIGH aoe: fix the potential use-after-free problem in aoecmd_cfg_pkts
CVE-2024-26852 7.8 HIGH net/ipv6: avoid possible UAF in ip6_route_mpath_notify()
CVE-2024-26895 7.8 HIGH wifi: wilc1000: prevent use-after-free on vif when cleaning up all interfaces
CVE-2024-26890 7.8 HIGH Bluetooth: btrtl: fix out of bounds memory access

Showing top 20 of 100 CVEs. View all on vendor page &rarr; →

IV. Related Vulnerabilities

V. Comments for CVE-2024-26906

No comments yet


Leave a comment