{"id":71283,"date":"2025-10-09T13:45:36","date_gmt":"2025-10-09T10:15:36","guid":{"rendered":"https:\/\/afaghhosting.net\/blog\/cve-2025-39956-igc-dont-fail-igc_probe-on-led-setup-error\/"},"modified":"2025-10-09T13:45:36","modified_gmt":"2025-10-09T10:15:36","slug":"cve-2025-39956-igc-dont-fail-igc_probe-on-led-setup-error","status":"publish","type":"post","link":"https:\/\/afaghhosting.net\/blog\/cve-2025-39956-igc-dont-fail-igc_probe-on-led-setup-error\/","title":{"rendered":"CVE-2025-39956 &#8211; igc: don&#8217;t fail igc_probe() on LED setup error"},"content":{"rendered":"<p>CVE ID : CVE-2025-39956<\/p>\n<p>Published :  Oct. 9, 2025, 10:15 a.m. | 22\u00a0minutes ago<\/p>\n<p>Description : In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>igc: don&#8217;t fail igc_probe() on LED setup error<\/p>\n<p>When igc_led_setup() fails, igc_probe() fails and triggers kernel panic<br \/>\nin free_netdev() since unregister_netdev() is not called. [1]\nThis behavior can be tested using fault-injection framework, especially<br \/>\nthe failslab feature. [2]\n<p>Since LED support is not mandatory, treat LED setup failures as<br \/>\nnon-fatal and continue probe with a warning message, consequently<br \/>\navoiding the kernel panic.<\/p>\n[1]\n kernel BUG at net\/core\/dev.c:12047!<br \/>\n Oops: invalid opcode: 0000 [#1] SMP NOPTI<br \/>\n CPU: 0 UID: 0 PID: 937 Comm: repro-igc-led-e Not tainted 6.17.0-rc4-enjuk-tnguy-00865-gc4940196ab02 #64 PREEMPT(voluntary)<br \/>\n Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04\/01\/2014<br \/>\n RIP: 0010:free_netdev+0x278\/0x2b0<br \/>\n [&#8230;]\n Call Trace:<\/p>\n<p>  igc_probe+0x370\/0x910<br \/>\n  local_pci_probe+0x3a\/0x80<br \/>\n  pci_device_probe+0xd1\/0x200<br \/>\n [&#8230;]\n[2]\n #!\/bin\/bash -ex<\/p>\n<p> FAILSLAB_PATH=\/sys\/kernel\/debug\/failslab\/<br \/>\n DEVICE=0000:00:05.0<br \/>\n START_ADDR=$(grep &#8221; igc_led_setup&#8221; \/proc\/kallsyms<br \/>\n         | awk &#8216;{printf(&#8220;0x%s&#8221;, $1)}&#8217;)<br \/>\n END_ADDR=$(printf &#8220;0x%x&#8221; $((START_ADDR + 0x100)))<\/p>\n<p> echo $START_ADDR &gt; $FAILSLAB_PATH\/require-start<br \/>\n echo $END_ADDR &gt; $FAILSLAB_PATH\/require-end<br \/>\n echo 1 &gt; $FAILSLAB_PATH\/times<br \/>\n echo 100 &gt; $FAILSLAB_PATH\/probability<br \/>\n echo N &gt; $FAILSLAB_PATH\/ignore-gfp-wait<\/p>\n<p> echo $DEVICE &gt; \/sys\/bus\/pci\/drivers\/igc\/bind<\/p>\n<p>Severity: 0.0 | NA<\/p>\n<p>Visit the link for more details, such as CVSS details, affected products, timeline, and more&#8230;\u00a0<\/p>\n","protected":false},"excerpt":{"rendered":"<p>CVE ID : CVE-2025-39956 Published : Oct. 9, 2025, 10:15 a.m. | 22\u00a0minutes ago Description : In the Linux kernel, the following vulnerability has been resolved: igc: don&#8217;t fail igc_probe() on LED setup error When igc_led_setup() fails, igc_probe() fails and triggers kernel panic in free_netdev() since unregister_netdev() is not called. [1] This behavior can be &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[26],"tags":[],"class_list":["post-71283","post","type-post","status-publish","format-standard","hentry","category-vulnerability"],"_links":{"self":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/71283","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/comments?post=71283"}],"version-history":[{"count":0,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/71283\/revisions"}],"wp:attachment":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/media?parent=71283"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/categories?post=71283"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/tags?post=71283"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}