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

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2024-45012— nouveau/firmware: use dma non-coherent allocator

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存在安全漏洞,该漏洞源于nouveau/firmware组件存在内存分配问题。

AI Predicted 5.5 Difficulty: Trivial EPSS 0.21% · P11

Possible ATT&CK Techniques 1 AI

T1496 · Resource Hijacking

Affected Version Matrix 8

VendorProduct Version RangeStatus
Linux Linux 2541626cfb794e57ba0575a6920826f591f7ced0< cc29c5546c6a373648363ac49781f1d74b530707 affected
2541626cfb794e57ba0575a6920826f591f7ced0< 57ca481fca97ca4553e8c85d6a94baf4cb40c40e affected
2541626cfb794e57ba0575a6920826f591f7ced0< 9b340aeb26d50e9a9ec99599e2a39b035fac978e affected
6.2 affected
< 6.2 unaffected
6.6.48≤ 6.6.* unaffected
6.10.7≤ 6.10.* unaffected
6.11≤ * unaffected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2024-45012

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
nouveau/firmware: use dma non-coherent allocator
Source: CVE Program / CVE List V5
Vulnerability Description
In the Linux kernel, the following vulnerability has been resolved: nouveau/firmware: use dma non-coherent allocator Currently, enabling SG_DEBUG in the kernel will cause nouveau to hit a BUG() on startup, when the iommu is enabled: kernel BUG at include/linux/scatterlist.h:187! invalid opcode: 0000 [#1] PREEMPT SMP NOPTI CPU: 7 PID: 930 Comm: (udev-worker) Not tainted 6.9.0-rc3Lyude-Test+ #30 Hardware name: MSI MS-7A39/A320M GAMING PRO (MS-7A39), BIOS 1.I0 01/22/2019 RIP: 0010:sg_init_one+0x85/0xa0 Code: 69 88 32 01 83 e1 03 f6 c3 03 75 20 a8 01 75 1e 48 09 cb 41 89 54 24 08 49 89 1c 24 41 89 6c 24 0c 5b 5d 41 5c e9 7b b9 88 00 <0f> 0b 0f 0b 0f 0b 48 8b 05 5e 46 9a 01 eb b2 66 66 2e 0f 1f 84 00 RSP: 0018:ffffa776017bf6a0 EFLAGS: 00010246 RAX: 0000000000000000 RBX: ffffa77600d87000 RCX: 000000000000002b RDX: 0000000000000001 RSI: 0000000000000000 RDI: ffffa77680d87000 RBP: 000000000000e000 R08: 0000000000000000 R09: 0000000000000000 R10: ffff98f4c46aa508 R11: 0000000000000000 R12: ffff98f4c46aa508 R13: ffff98f4c46aa008 R14: ffffa77600d4a000 R15: ffffa77600d4a018 FS: 00007feeb5aae980(0000) GS:ffff98f5c4dc0000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f22cb9a4520 CR3: 00000001043ba000 CR4: 00000000003506f0 Call Trace: <TASK> ? die+0x36/0x90 ? do_trap+0xdd/0x100 ? sg_init_one+0x85/0xa0 ? do_error_trap+0x65/0x80 ? sg_init_one+0x85/0xa0 ? exc_invalid_op+0x50/0x70 ? sg_init_one+0x85/0xa0 ? asm_exc_invalid_op+0x1a/0x20 ? sg_init_one+0x85/0xa0 nvkm_firmware_ctor+0x14a/0x250 [nouveau] nvkm_falcon_fw_ctor+0x42/0x70 [nouveau] ga102_gsp_booter_ctor+0xb4/0x1a0 [nouveau] r535_gsp_oneinit+0xb3/0x15f0 [nouveau] ? srso_return_thunk+0x5/0x5f ? srso_return_thunk+0x5/0x5f ? nvkm_udevice_new+0x95/0x140 [nouveau] ? srso_return_thunk+0x5/0x5f ? srso_return_thunk+0x5/0x5f ? ktime_get+0x47/0xb0 Fix this by using the non-coherent allocator instead, I think there might be a better answer to this, but it involve ripping up some of APIs using sg lists.
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存在安全漏洞,该漏洞源于nouveau/firmware组件存在内存分配问题。
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 2541626cfb794e57ba0575a6920826f591f7ced0 ~ cc29c5546c6a373648363ac49781f1d74b530707 -
Linux Linux 6.2 -

II. Public POCs for CVE-2024-45012

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

登录查看更多情报信息。

Same Patch Batch · Linux · 2024-09-11 · 23 CVEs total

CVE-2024-45030 9.8 CRITICAL igb: cope with large MAX_SKB_FRAGS
CVE-2024-45013 9.8 CRITICAL nvme: move stopping keep-alive into nvme_uninit_ctrl()
CVE-2024-45009 8.2 HIGH mptcp: pm: only decrement add_addr_accepted for MPJ req
CVE-2024-45016 7.8 HIGH netem: fix return value if duplicate enqueue fails
CVE-2024-45017 7.8 HIGH net/mlx5: Fix IPsec RoCE MPV trace call
CVE-2024-45019 7.8 HIGH net/mlx5e: Take state lock during tx timeout reporter
CVE-2024-45024 7.8 HIGH mm/hugetlb: fix hugetlb vs. core-mm PT locking
CVE-2024-45022 7.8 HIGH mm/vmalloc: fix page mapping if vm_area_alloc_pages() with high order fallback to order 0
CVE-2024-45023 7.8 HIGH md/raid1: Fix data corruption for degraded array with slow disk
CVE-2024-45020 7.8 HIGH bpf: Fix a kernel verifier crash in stacksafe()
CVE-2024-45021 7.1 HIGH memcg_write_event_control(): fix a user-triggerable oops
CVE-2024-45026 7.0 HIGH s390/dasd: fix error recovery leading to data corruption on ESE devices
CVE-2024-46672 wifi: brcmfmac: cfg80211: Handle SSID based pmksa deletion
CVE-2024-45025 fix bitmap corruption on close_range() with CLOSE_RANGE_UNSHARE
CVE-2024-45018 netfilter: flowtable: initialise extack before use
CVE-2024-45027 usb: xhci: Check for xhci->interrupters being allocated in xhci_mem_clearup()
CVE-2024-45014 s390/boot: Avoid possible physmem_info segment corruption
CVE-2024-45015 drm/msm/dpu: move dpu_encoder's connector assignment to atomic_enable()
CVE-2024-45029 i2c: tegra: Do not mark ACPI devices as irq safe
CVE-2024-45011 char: xillybus: Check USB endpoints when probing device

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

IV. Related Vulnerabilities

V. Comments for CVE-2024-45012

No comments yet


Leave a comment