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

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CVE-2024-56701— powerpc/pseries: Fix dtl_access_lock to be a rw_semaphore

EPSS 0.01% · P3
Get alerts for future matching vulnerabilitiesLog in to subscribe

I. Basic Information for CVE-2024-56701

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/pseries: Fix dtl_access_lock to be a rw_semaphore
Source: NVD (National Vulnerability Database)
Vulnerability Description
In the Linux kernel, the following vulnerability has been resolved: powerpc/pseries: Fix dtl_access_lock to be a rw_semaphore The dtl_access_lock needs to be a rw_sempahore, a sleeping lock, because the code calls kmalloc() while holding it, which can sleep: # echo 1 > /proc/powerpc/vcpudispatch_stats BUG: sleeping function called from invalid context at include/linux/sched/mm.h:337 in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 199, name: sh preempt_count: 1, expected: 0 3 locks held by sh/199: #0: c00000000a0743f8 (sb_writers#3){.+.+}-{0:0}, at: vfs_write+0x324/0x438 #1: c0000000028c7058 (dtl_enable_mutex){+.+.}-{3:3}, at: vcpudispatch_stats_write+0xd4/0x5f4 #2: c0000000028c70b8 (dtl_access_lock){+.+.}-{2:2}, at: vcpudispatch_stats_write+0x220/0x5f4 CPU: 0 PID: 199 Comm: sh Not tainted 6.10.0-rc4 #152 Hardware name: IBM pSeries (emulated by qemu) POWER9 (raw) 0x4e1202 0xf000005 of:SLOF,HEAD hv:linux,kvm pSeries Call Trace: dump_stack_lvl+0x130/0x148 (unreliable) __might_resched+0x174/0x410 kmem_cache_alloc_noprof+0x340/0x3d0 alloc_dtl_buffers+0x124/0x1ac vcpudispatch_stats_write+0x2a8/0x5f4 proc_reg_write+0xf4/0x150 vfs_write+0xfc/0x438 ksys_write+0x88/0x148 system_call_exception+0x1c4/0x5a0 system_call_common+0xf4/0x258
Source: NVD (National Vulnerability Database)
CVSS Information
N/A
Source: NVD (National Vulnerability Database)
Vulnerability Type
N/A
Source: NVD (National Vulnerability Database)
Vulnerability Title
Linux kernel 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核。 Linux kernel存在安全漏洞,该漏洞源于powerpc/pseries子系统中dtl_access_lock不是rw_semaphore的问题。
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

VendorProductAffected VersionsCPESubscribe
LinuxLinux 06220d78f24a20549757be1014e57c382406cc92 ~ 6956c0e7346ce1bbfc726755aa8da10d26e84276 -
LinuxLinux 5.3 -

II. Public POCs for CVE-2024-56701

#POC DescriptionSource LinkShenlong Link
AI-Generated POCPremium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2024-56701

登录查看更多情报信息。

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

CVE-2024-56693brd: defer automatic disk creation until module initialization succeeds
CVE-2024-56708EDAC/igen6: Avoid segmentation fault on module unload
CVE-2024-56707octeontx2-pf: handle otx2_mbox_get_rsp errors in otx2_dmac_flt.c
CVE-2024-56705media: atomisp: Add check for rgby_data memory allocation failure
CVE-2024-56706s390/cpum_sf: Fix and protect memory allocation of SDBs with mutex
CVE-2024-567049p/xen: fix release of IRQ
CVE-2024-56703ipv6: Fix soft lockups in fib6_select_path under high next hop churn
CVE-2024-56702bpf: Mark raw_tp arguments with PTR_MAYBE_NULL
CVE-2024-56700media: wl128x: Fix atomicity violation in fmc_send_cmd()
CVE-2024-56699s390/pci: Fix potential double remove of hotplug slot
CVE-2024-56698usb: dwc3: gadget: Fix looping of queued SG entries
CVE-2024-56697drm/amdgpu: Fix the memory allocation issue in amdgpu_discovery_get_nps_info()
CVE-2024-56696ALSA: core: Fix possible NULL dereference caused by kunit_kzalloc()
CVE-2024-56694bpf: fix recursive lock when verdict program return SK_PASS
CVE-2024-56695drm/amdkfd: Use dynamic allocation for CU occupancy array in 'kfd_get_cu_occupancy()'
CVE-2024-56692f2fs: fix to do sanity check on node blkaddr in truncate_node()
CVE-2024-56676thermal: testing: Initialize some variables annoteded with _free()
CVE-2024-56691mfd: intel_soc_pmic_bxtwc: Use IRQ domain for USB Type-C device
CVE-2024-56689PCI: endpoint: epf-mhi: Avoid NULL dereference if DT lacks 'mmio'
CVE-2024-56690crypto: pcrypt - Call crypto layer directly when padata_do_parallel() return -EBUSY

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

IV. Related Vulnerabilities

V. Comments for CVE-2024-56701

No comments yet


Leave a comment