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

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2024-26587— net: netdevsim: don't try to destroy PHC on VFs

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存在安全漏洞,该漏洞源于NULL指针取消引用。

AI Predicted 4.7 Difficulty: Moderate EPSS 0.22% · P12

Possible ATT&CK Techniques 1 AI

T1068 · Exploitation for Privilege Escalation

Affected Version Matrix 8

VendorProduct Version RangeStatus
Linux Linux b63e78fca889e07931ec8f259701718a24e5052e< 08aca65997fb6f233066883b1f1e653bcb1f26ca affected
b63e78fca889e07931ec8f259701718a24e5052e< c5068e442eed063d2f1658e6b6d3c1c6fcf1e588 affected
b63e78fca889e07931ec8f259701718a24e5052e< ea937f77208323d35ffe2f8d8fc81b00118bfcda affected
6.6 affected
< 6.6 unaffected
6.6.14≤ 6.6.* unaffected
6.7.2≤ 6.7.* unaffected
6.8≤ * unaffected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2024-26587

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
net: netdevsim: don't try to destroy PHC on VFs
Source: CVE Program / CVE List V5
Vulnerability Description
In the Linux kernel, the following vulnerability has been resolved: net: netdevsim: don't try to destroy PHC on VFs PHC gets initialized in nsim_init_netdevsim(), which is only called if (nsim_dev_port_is_pf()). Create a counterpart of nsim_init_netdevsim() and move the mock_phc_destroy() there. This fixes a crash trying to destroy netdevsim with VFs instantiated, as caught by running the devlink.sh test: BUG: kernel NULL pointer dereference, address: 00000000000000b8 RIP: 0010:mock_phc_destroy+0xd/0x30 Call Trace: <TASK> nsim_destroy+0x4a/0x70 [netdevsim] __nsim_dev_port_del+0x47/0x70 [netdevsim] nsim_dev_reload_destroy+0x105/0x120 [netdevsim] nsim_drv_remove+0x2f/0xb0 [netdevsim] device_release_driver_internal+0x1a1/0x210 bus_remove_device+0xd5/0x120 device_del+0x159/0x490 device_unregister+0x12/0x30 del_device_store+0x11a/0x1a0 [netdevsim] kernfs_fop_write_iter+0x130/0x1d0 vfs_write+0x30b/0x4b0 ksys_write+0x69/0xf0 do_syscall_64+0xcc/0x1e0 entry_SYSCALL_64_after_hwframe+0x6f/0x77
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存在安全漏洞,该漏洞源于NULL指针取消引用。
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 b63e78fca889e07931ec8f259701718a24e5052e ~ 08aca65997fb6f233066883b1f1e653bcb1f26ca -
Linux Linux 6.6 -

II. Public POCs for CVE-2024-26587

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

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

Other References for CVE-2024-26587 (2)

Same Patch Batch · Linux · 2024-02-22 · 17 CVEs total

CVE-2024-26592 9.8 CRITICAL ksmbd: fix UAF issue in ksmbd_tcp_new_connection()
CVE-2023-52447 7.8 HIGH bpf: Defer the free of inner map when necessary
CVE-2023-52444 7.8 HIGH f2fs: fix to avoid dirent corruption
CVE-2024-26589 7.8 HIGH bpf: Reject variable offset alu on PTR_TO_FLOW_KEYS
CVE-2024-26586 7.8 HIGH mlxsw: spectrum_acl_tcam: Fix stack corruption
CVE-2024-26591 bpf: Fix re-attachment branch in bpf_tracing_prog_attach
CVE-2023-52452 bpf: Fix accesses to uninit stack slots
CVE-2023-52451 powerpc/pseries/memhp: Fix access beyond end of drmem array
CVE-2023-52450 perf/x86/intel/uncore: Fix NULL pointer dereference issue in upi_fill_topology()
CVE-2023-52449 mtd: Fix gluebi NULL pointer dereference caused by ftl notifier
CVE-2023-52448 gfs2: Fix kernel NULL pointer dereference in gfs2_rgrp_dump
CVE-2023-52446 bpf: Fix a race condition between btf_put() and map_free()
CVE-2023-52445 media: pvrusb2: fix use after free on context disconnection
CVE-2024-26590 erofs: fix inconsistent per-file compression format
CVE-2024-26588 LoongArch: BPF: Prevent out-of-bounds memory access
CVE-2023-52443 apparmor: avoid crash when parsed profile name is empty

IV. Related Vulnerabilities

V. Comments for CVE-2024-26587

No comments yet


Leave a comment