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

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

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

EPSS 0.01% · P3
Get alerts for future matching vulnerabilitiesLog 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: NVD (National Vulnerability Database)
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: 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存在安全漏洞,该漏洞源于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

VendorProductAffected VersionsCPESubscribe
LinuxLinux b63e78fca889e07931ec8f259701718a24e5052e ~ 08aca65997fb6f233066883b1f1e653bcb1f26ca -
LinuxLinux 6.6 -

II. Public POCs for CVE-2024-26587

#POC DescriptionSource LinkShenlong Link
AI-Generated POCPremium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2024-26587

登录查看更多情报信息。

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

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

IV. Related Vulnerabilities

V. Comments for CVE-2024-26587

No comments yet


Leave a comment