CVE-2024-26587
publishednet: netdevsim: don't try to destroy PHC on VFs
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linuxb63e78fca889e07931ec8f259701718a24e5052e to < 08aca65997fb6f233066883b1f1e653bcb1f26ca · b63e78fca889e07931ec8f259701718a24e5052e to < c5068e442eed063d2f1658e6b6d3c1c6fcf1e588 · b63e78fca889e07931ec8f259701718a24e5052e to < ea937f77208323d35ffe2f8d8fc81b00118bfcda · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.6 (affected) · 0 to < 6.6 (unaffected · semver) · 6.6.14 through 6.6.* (unaffected · semver) · 6.7.2 through 6.7.* (unaffected · semver) · 6.8 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Oracle Linux | 8 | bpftoolaarch64 | Advisory build | 0:5.15.0-300.163.18.el8uek | ELSA-2024-12682 |
| Oracle Linux | 8 | bpftoolx86_64 | Advisory build | 0:5.15.0-300.163.18.el8uek | ELSA-2024-12682 |
| Oracle Linux | 8 | kernel-uekaarch64 | Advisory build | 0:5.15.0-300.163.18.el8uek | ELSA-2024-12682 |
| Oracle Linux | 8 | kernel-uekx86_64 | Advisory build | 0:5.15.0-300.163.18.el8uek | ELSA-2024-12682 |
Show 52 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Oracle Linux | 8 | kernel-uek-containeraarch64 | Advisory build | 0:5.15.0-300.163.18.el8uek | ELSA-2024-12682 |
| Oracle Linux | 8 | kernel-uek-containerx86_64 | Advisory build | 0:5.15.0-300.163.18.el8uek | ELSA-2024-12682 |
| Oracle Linux | 8 | kernel-uek-container-debugaarch64 | Advisory build | 0:5.15.0-300.163.18.el8uek | ELSA-2024-12682 |
| Oracle Linux | 8 | kernel-uek-container-debugx86_64 | Advisory build | 0:5.15.0-300.163.18.el8uek | ELSA-2024-12682 |
| Oracle Linux | 8 | kernel-uek-coreaarch64 | Advisory build | 0:5.15.0-300.163.18.el8uek | ELSA-2024-12682 |
| Oracle Linux | 8 | kernel-uek-corex86_64 | Advisory build | 0:5.15.0-300.163.18.el8uek | ELSA-2024-12682 |
| Oracle Linux | 8 | kernel-uek-debugaarch64 | Advisory build | 0:5.15.0-300.163.18.el8uek | ELSA-2024-12682 |
| Oracle Linux | 8 | kernel-uek-debugx86_64 | Advisory build | 0:5.15.0-300.163.18.el8uek | ELSA-2024-12682 |
| Oracle Linux | 8 | kernel-uek-debug-coreaarch64 | Advisory build | 0:5.15.0-300.163.18.el8uek | ELSA-2024-12682 |
| Oracle Linux | 8 | kernel-uek-debug-corex86_64 | Advisory build | 0:5.15.0-300.163.18.el8uek | ELSA-2024-12682 |
| Oracle Linux | 8 | kernel-uek-debug-develaarch64 | Advisory build | 0:5.15.0-300.163.18.el8uek | ELSA-2024-12682 |
| Oracle Linux | 8 | kernel-uek-debug-develx86_64 | Advisory build | 0:5.15.0-300.163.18.el8uek | ELSA-2024-12682 |
| Oracle Linux | 8 | kernel-uek-debug-modulesaarch64 | Advisory build | 0:5.15.0-300.163.18.el8uek | ELSA-2024-12682 |
| Oracle Linux | 8 | kernel-uek-debug-modulesx86_64 | Advisory build | 0:5.15.0-300.163.18.el8uek | ELSA-2024-12682 |
| Oracle Linux | 8 | kernel-uek-debug-modules-extraaarch64 | Advisory build | 0:5.15.0-300.163.18.el8uek | ELSA-2024-12682 |
| Oracle Linux | 8 | kernel-uek-debug-modules-extrax86_64 | Advisory build | 0:5.15.0-300.163.18.el8uek | ELSA-2024-12682 |
| Oracle Linux | 8 | kernel-uek-develaarch64 | Advisory build | 0:5.15.0-300.163.18.el8uek | ELSA-2024-12682 |
| Oracle Linux | 8 | kernel-uek-develx86_64 | Advisory build | 0:5.15.0-300.163.18.el8uek | ELSA-2024-12682 |
| Oracle Linux | 8 | kernel-uek-docaarch64 | Advisory build | 0:5.15.0-300.163.18.el8uek | ELSA-2024-12682 |
| Oracle Linux | 8 | kernel-uek-docx86_64 | Advisory build | 0:5.15.0-300.163.18.el8uek | ELSA-2024-12682 |
| Oracle Linux | 8 | kernel-uek-modulesaarch64 | Advisory build | 0:5.15.0-300.163.18.el8uek | ELSA-2024-12682 |
| Oracle Linux | 8 | kernel-uek-modulesx86_64 | Advisory build | 0:5.15.0-300.163.18.el8uek | ELSA-2024-12682 |
| Oracle Linux | 8 | kernel-uek-modules-extraaarch64 | Advisory build | 0:5.15.0-300.163.18.el8uek | ELSA-2024-12682 |
| Oracle Linux | 8 | kernel-uek-modules-extrax86_64 | Advisory build | 0:5.15.0-300.163.18.el8uek | ELSA-2024-12682 |
| Oracle Linux | 9 | bpftoolaarch64 | Advisory build | 0:5.15.0-300.163.18.el9uek | ELSA-2024-12682 |
| Oracle Linux | 9 | bpftoolx86_64 | Advisory build | 0:5.15.0-300.163.18.el9uek | ELSA-2024-12682 |
| Oracle Linux | 9 | kernel-uekaarch64 | Advisory build | 0:5.15.0-300.163.18.el9uek | ELSA-2024-12682 |
| Oracle Linux | 9 | kernel-uekx86_64 | Advisory build | 0:5.15.0-300.163.18.el9uek | ELSA-2024-12682 |
| Oracle Linux | 9 | kernel-uek-containeraarch64 | Advisory build | 0:5.15.0-300.163.18.el9uek | ELSA-2024-12682 |
| Oracle Linux | 9 | kernel-uek-containerx86_64 | Advisory build | 0:5.15.0-300.163.18.el9uek | ELSA-2024-12682 |
| Oracle Linux | 9 | kernel-uek-container-debugaarch64 | Advisory build | 0:5.15.0-300.163.18.el9uek | ELSA-2024-12682 |
| Oracle Linux | 9 | kernel-uek-container-debugx86_64 | Advisory build | 0:5.15.0-300.163.18.el9uek | ELSA-2024-12682 |
| Oracle Linux | 9 | kernel-uek-coreaarch64 | Advisory build | 0:5.15.0-300.163.18.el9uek | ELSA-2024-12682 |
| Oracle Linux | 9 | kernel-uek-corex86_64 | Advisory build | 0:5.15.0-300.163.18.el9uek | ELSA-2024-12682 |
| Oracle Linux | 9 | kernel-uek-debugaarch64 | Advisory build | 0:5.15.0-300.163.18.el9uek | ELSA-2024-12682 |
| Oracle Linux | 9 | kernel-uek-debugx86_64 | Advisory build | 0:5.15.0-300.163.18.el9uek | ELSA-2024-12682 |
| Oracle Linux | 9 | kernel-uek-debug-coreaarch64 | Advisory build | 0:5.15.0-300.163.18.el9uek | ELSA-2024-12682 |
| Oracle Linux | 9 | kernel-uek-debug-corex86_64 | Advisory build | 0:5.15.0-300.163.18.el9uek | ELSA-2024-12682 |
| Oracle Linux | 9 | kernel-uek-debug-develaarch64 | Advisory build | 0:5.15.0-300.163.18.el9uek | ELSA-2024-12682 |
| Oracle Linux | 9 | kernel-uek-debug-develx86_64 | Advisory build | 0:5.15.0-300.163.18.el9uek | ELSA-2024-12682 |
| Oracle Linux | 9 | kernel-uek-debug-modulesaarch64 | Advisory build | 0:5.15.0-300.163.18.el9uek | ELSA-2024-12682 |
| Oracle Linux | 9 | kernel-uek-debug-modulesx86_64 | Advisory build | 0:5.15.0-300.163.18.el9uek | ELSA-2024-12682 |
| Oracle Linux | 9 | kernel-uek-debug-modules-extraaarch64 | Advisory build | 0:5.15.0-300.163.18.el9uek | ELSA-2024-12682 |
| Oracle Linux | 9 | kernel-uek-debug-modules-extrax86_64 | Advisory build | 0:5.15.0-300.163.18.el9uek | ELSA-2024-12682 |
| Oracle Linux | 9 | kernel-uek-develaarch64 | Advisory build | 0:5.15.0-300.163.18.el9uek | ELSA-2024-12682 |
| Oracle Linux | 9 | kernel-uek-develx86_64 | Advisory build | 0:5.15.0-300.163.18.el9uek | ELSA-2024-12682 |
| Oracle Linux | 9 | kernel-uek-docaarch64 | Advisory build | 0:5.15.0-300.163.18.el9uek | ELSA-2024-12682 |
| Oracle Linux | 9 | kernel-uek-docx86_64 | Advisory build | 0:5.15.0-300.163.18.el9uek | ELSA-2024-12682 |
| Oracle Linux | 9 | kernel-uek-modulesaarch64 | Advisory build | 0:5.15.0-300.163.18.el9uek | ELSA-2024-12682 |
| Oracle Linux | 9 | kernel-uek-modulesx86_64 | Advisory build | 0:5.15.0-300.163.18.el9uek | ELSA-2024-12682 |
| Oracle Linux | 9 | kernel-uek-modules-extraaarch64 | Advisory build | 0:5.15.0-300.163.18.el9uek | ELSA-2024-12682 |
| Oracle Linux | 9 | kernel-uek-modules-extrax86_64 | Advisory build | 0:5.15.0-300.163.18.el9uek | ELSA-2024-12682 |
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
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | b63e78fca889e07931ec8f259701718a24e5052e to < 08aca65997fb6f233066883b1f1e653bcb1f26ca (affected · git)b63e78fca889e07931ec8f259701718a24e5052e to < c5068e442eed063d2f1658e6b6d3c1c6fcf1e588 (affected · git)b63e78fca889e07931ec8f259701718a24e5052e to < ea937f77208323d35ffe2f8d8fc81b00118bfcda (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 6.6 (affected)0 to < 6.6 (unaffected · semver)6.6.14 through 6.6.* (unaffected · semver)6.7.2 through 6.7.* (unaffected · semver)6.8 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
3Provider assertions
3Linux · cna
net: netdevsim: don't try to destroy PHC on VFs
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 4a7d908ec5078e4d999fd3be8f489746f5967be09b2aa77c3bbedb7894076d2e
- Ingested
- 23 Sep 2026, 08:20:20 UTC
- Source record
- Official CVE record