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

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2024-50224— spi: spi-fsl-dspi: Fix crash when not using GPIO chip select

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存在安全漏洞,该漏洞源于GPIO芯片选择未使用时发生崩溃。

AI Predicted 5.5 Difficulty: Moderate EPSS 0.23% · P13

Possible ATT&CK Techniques 1 AI

T1496 · Resource Hijacking

Affected Version Matrix 8

VendorProduct Version RangeStatus
Linux Linux 9e264f3f85a56cc109cc2d6010a48aa89d5c1ff1< e79c1f1c9100b4adc91c6512985db2cc961aafaa affected
9e264f3f85a56cc109cc2d6010a48aa89d5c1ff1< 89f74c968319d040739d6238e1c3a4caa16a5a00 affected
9e264f3f85a56cc109cc2d6010a48aa89d5c1ff1< 25f00a13dccf8e45441265768de46c8bf58e08f6 affected
6.4 affected
< 6.4 unaffected
6.6.60≤ 6.6.* unaffected
6.11.7≤ 6.11.* unaffected
6.12≤ * unaffected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2024-50224

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
spi: spi-fsl-dspi: Fix crash when not using GPIO chip select
Source: CVE Program / CVE List V5
Vulnerability Description
In the Linux kernel, the following vulnerability has been resolved: spi: spi-fsl-dspi: Fix crash when not using GPIO chip select Add check for the return value of spi_get_csgpiod() to avoid passing a NULL pointer to gpiod_direction_output(), preventing a crash when GPIO chip select is not used. Fix below crash: [ 4.251960] Unable to handle kernel NULL pointer dereference at virtual address 0000000000000000 [ 4.260762] Mem abort info: [ 4.263556] ESR = 0x0000000096000004 [ 4.267308] EC = 0x25: DABT (current EL), IL = 32 bits [ 4.272624] SET = 0, FnV = 0 [ 4.275681] EA = 0, S1PTW = 0 [ 4.278822] FSC = 0x04: level 0 translation fault [ 4.283704] Data abort info: [ 4.286583] ISV = 0, ISS = 0x00000004, ISS2 = 0x00000000 [ 4.292074] CM = 0, WnR = 0, TnD = 0, TagAccess = 0 [ 4.297130] GCS = 0, Overlay = 0, DirtyBit = 0, Xs = 0 [ 4.302445] [0000000000000000] user address but active_mm is swapper [ 4.308805] Internal error: Oops: 0000000096000004 [#1] PREEMPT SMP [ 4.315072] Modules linked in: [ 4.318124] CPU: 2 UID: 0 PID: 1 Comm: swapper/0 Not tainted 6.12.0-rc4-next-20241023-00008-ga20ec42c5fc1 #359 [ 4.328130] Hardware name: LS1046A QDS Board (DT) [ 4.332832] pstate: 40000005 (nZcv daif -PAN -UAO -TCO -DIT -SSBS BTYPE=--) [ 4.339794] pc : gpiod_direction_output+0x34/0x5c [ 4.344505] lr : gpiod_direction_output+0x18/0x5c [ 4.349208] sp : ffff80008003b8f0 [ 4.352517] x29: ffff80008003b8f0 x28: 0000000000000000 x27: ffffc96bcc7e9068 [ 4.359659] x26: ffffc96bcc6e00b0 x25: ffffc96bcc598398 x24: ffff447400132810 [ 4.366800] x23: 0000000000000000 x22: 0000000011e1a300 x21: 0000000000020002 [ 4.373940] x20: 0000000000000000 x19: 0000000000000000 x18: ffffffffffffffff [ 4.381081] x17: ffff44740016e600 x16: 0000000500000003 x15: 0000000000000007 [ 4.388221] x14: 0000000000989680 x13: 0000000000020000 x12: 000000000000001e [ 4.395362] x11: 0044b82fa09b5a53 x10: 0000000000000019 x9 : 0000000000000008 [ 4.402502] x8 : 0000000000000002 x7 : 0000000000000007 x6 : 0000000000000000 [ 4.409641] x5 : 0000000000000200 x4 : 0000000002000000 x3 : 0000000000000000 [ 4.416781] x2 : 0000000000022202 x1 : 0000000000000000 x0 : 0000000000000000 [ 4.423921] Call trace: [ 4.426362] gpiod_direction_output+0x34/0x5c (P) [ 4.431067] gpiod_direction_output+0x18/0x5c (L) [ 4.435771] dspi_setup+0x220/0x334
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存在安全漏洞,该漏洞源于GPIO芯片选择未使用时发生崩溃。
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 9e264f3f85a56cc109cc2d6010a48aa89d5c1ff1 ~ e79c1f1c9100b4adc91c6512985db2cc961aafaa -
Linux Linux 6.4 -

II. Public POCs for CVE-2024-50224

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

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

Patches & Fixes for CVE-2024-50224 (2)

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

CVE-2024-50215 8.1 HIGH nvmet-auth: assign dh_key to NULL after kfree_sensitive
CVE-2024-50225 7.8 HIGH btrfs: fix error propagation of split bios
CVE-2024-50217 7.8 HIGH btrfs: fix use-after-free of block device file in __btrfs_free_extra_devids()
CVE-2024-50221 7.8 HIGH drm/amd/pm: Vangogh: Fix kernel memory out of bounds write
CVE-2024-50262 7.8 HIGH bpf: Fix out-of-bounds write in trie_get_next_key()
CVE-2024-50261 7.8 HIGH macsec: Fix use-after-free while sending the offloading packet
CVE-2024-50246 7.8 HIGH fs/ntfs3: Add rough attr alloc_size check
CVE-2024-50230 7.8 HIGH nilfs2: fix kernel bug due to missing clearing of checked flag
CVE-2024-50253 7.8 HIGH bpf: Check the validity of nr_words in bpf_iter_bits_new()
CVE-2024-50237 7.8 HIGH wifi: mac80211: do not pass a stopped vif to the driver in .get_txpower
CVE-2024-50250 7.8 HIGH fsdax: dax_unshare_iter needs to copy entire blocks
CVE-2024-50235 7.8 HIGH wifi: cfg80211: clear wdev->cqm_config pointer on free
CVE-2024-50256 7.5 HIGH netfilter: nf_reject_ipv6: fix potential crash in nf_send_reset6()
CVE-2024-50241 7.5 HIGH NFSD: Initialize struct nfsd4_copy earlier
CVE-2024-50247 7.3 HIGH fs/ntfs3: Check if more than chunk-size bytes are written
CVE-2024-50248 7.1 HIGH ntfs3: Add bounds checking to mi_enum_attr()
CVE-2024-50257 7.0 HIGH netfilter: Fix use-after-free in get_info()
CVE-2024-50222 7.0 HIGH iov_iter: fix copy_page_from_iter_atomic() if KMAP_LOCAL_FORCE_MAP
CVE-2024-50245 fs/ntfs3: Fix possible deadlock in mi_read
CVE-2024-50239 phy: qcom: qmp-usb-legacy: fix NULL-deref on runtime suspend

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

IV. Related Vulnerabilities

V. Comments for CVE-2024-50224

No comments yet


Leave a comment