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

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2024-56678— powerpc/mm/fault: Fix kfence page fault reporting

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存在安全漏洞,该漏洞源于powerpc/mm/fault模块中kfence页面出现错误。

AI Predicted 5.5 Difficulty: Moderate EPSS 0.22% · P12

Possible ATT&CK Techniques 1 AI

T1083 · File and Directory Discovery

Affected Version Matrix 14

VendorProduct Version RangeStatus
Linux Linux 90cbac0e995dd92f7bcf82f74aa50250bf194a4a< e0a470b5733c1fe068d5c58b0bb91ad539604bc6 affected
90cbac0e995dd92f7bcf82f74aa50250bf194a4a< 4d2655754e94741b159aa807b72ea85518a65fd5 affected
90cbac0e995dd92f7bcf82f74aa50250bf194a4a< 9ea8d8bf9b625e8ad3be6b0432aecdc549914121 affected
90cbac0e995dd92f7bcf82f74aa50250bf194a4a< 7eaeb7a49b6d16640f9f3c9074c05175d74c710b affected
90cbac0e995dd92f7bcf82f74aa50250bf194a4a< 15f78d2c3d1452645bd8b9da909b0ca266f83c43 affected
90cbac0e995dd92f7bcf82f74aa50250bf194a4a< 06dbbb4d5f7126b6307ab807cbf04ecfc459b933 affected
5.13 affected
< 5.13 unaffected
… +6 more rows
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2024-56678

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
powerpc/mm/fault: Fix kfence page fault reporting
Source: CVE Program / CVE List V5
Vulnerability Description
In the Linux kernel, the following vulnerability has been resolved: powerpc/mm/fault: Fix kfence page fault reporting copy_from_kernel_nofault() can be called when doing read of /proc/kcore. /proc/kcore can have some unmapped kfence objects which when read via copy_from_kernel_nofault() can cause page faults. Since *_nofault() functions define their own fixup table for handling fault, use that instead of asking kfence to handle such faults. Hence we search the exception tables for the nip which generated the fault. If there is an entry then we let the fixup table handler handle the page fault by returning an error from within ___do_page_fault(). This can be easily triggered if someone tries to do dd from /proc/kcore. eg. dd if=/proc/kcore of=/dev/null bs=1M Some example false negatives: =============================== BUG: KFENCE: invalid read in copy_from_kernel_nofault+0x9c/0x1a0 Invalid read at 0xc0000000fdff0000: copy_from_kernel_nofault+0x9c/0x1a0 0xc00000000665f950 read_kcore_iter+0x57c/0xa04 proc_reg_read_iter+0xe4/0x16c vfs_read+0x320/0x3ec ksys_read+0x90/0x154 system_call_exception+0x120/0x310 system_call_vectored_common+0x15c/0x2ec BUG: KFENCE: use-after-free read in copy_from_kernel_nofault+0x9c/0x1a0 Use-after-free read at 0xc0000000fe050000 (in kfence-#2): copy_from_kernel_nofault+0x9c/0x1a0 0xc00000000665f950 read_kcore_iter+0x57c/0xa04 proc_reg_read_iter+0xe4/0x16c vfs_read+0x320/0x3ec ksys_read+0x90/0x154 system_call_exception+0x120/0x310 system_call_vectored_common+0x15c/0x2ec
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存在安全漏洞,该漏洞源于powerpc/mm/fault模块中kfence页面出现错误。
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 90cbac0e995dd92f7bcf82f74aa50250bf194a4a ~ e0a470b5733c1fe068d5c58b0bb91ad539604bc6 -
Linux Linux 5.13 -

II. Public POCs for CVE-2024-56678

# 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-56678

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

Patches & Fixes for CVE-2024-56678 (6)

Same Patch Batch · Linux · 2024-12-28 · 32 CVEs total

CVE-2024-56704 8.4 HIGH 9p/xen: fix release of IRQ
CVE-2024-56684 8.4 HIGH mailbox: mtk-cmdq: fix wrong use of sizeof in cmdq_get_clocks()
CVE-2024-56677 7.8 HIGH powerpc/fadump: Move fadump_cma_init to setup_arch() after initmem_init()
CVE-2024-56706 7.8 HIGH s390/cpum_sf: Fix and protect memory allocation of SDBs with mutex
CVE-2024-56692 7.8 HIGH f2fs: fix to do sanity check on node blkaddr in truncate_node()
CVE-2024-56693 7.8 HIGH brd: defer automatic disk creation until module initialization succeeds
CVE-2024-56681 7.8 HIGH crypto: bcm - add error check in the ahash_hmac_init function
CVE-2024-56688 7.5 HIGH sunrpc: clear XPRT_SOCK_UPD_TIMEOUT when reset transport
CVE-2024-56703 7.5 HIGH ipv6: Fix soft lockups in fib6_select_path under high next hop churn
CVE-2024-56694 7.5 HIGH bpf: fix recursive lock when verdict program return SK_PASS
CVE-2024-56696 ALSA: core: Fix possible NULL dereference caused by kunit_kzalloc()
CVE-2024-56708 EDAC/igen6: Avoid segmentation fault on module unload
CVE-2024-56707 octeontx2-pf: handle otx2_mbox_get_rsp errors in otx2_dmac_flt.c
CVE-2024-56705 media: atomisp: Add check for rgby_data memory allocation failure
CVE-2024-56676 thermal: testing: Initialize some variables annoteded with _free()
CVE-2024-56679 octeontx2-pf: handle otx2_mbox_get_rsp errors in otx2_common.c
CVE-2024-56701 powerpc/pseries: Fix dtl_access_lock to be a rw_semaphore
CVE-2024-56702 bpf: Mark raw_tp arguments with PTR_MAYBE_NULL
CVE-2024-56700 media: wl128x: Fix atomicity violation in fmc_send_cmd()
CVE-2024-56699 s390/pci: Fix potential double remove of hotplug slot

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

IV. Related Vulnerabilities

V. Comments for CVE-2024-56678

No comments yet


Leave a comment