# CVE-2026-23017: idpf: fix error handling in the init_task on load

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.20%, higher than 10% of CVEs (2026-12-01)
- Published: 2026-01-31T11:39:01.204Z
- Modified: 2026-11-05T22:18:00.253Z
- Weaknesses: CWE-476
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

idpf: fix error handling in the init_task on load

If the init_task fails during a driver load, we end up without vports and
netdevs, effectively failing the entire process. In that state a
subsequent reset will result in a crash as the service task attempts to
access uninitialized resources. Following trace is from an error in the
init_task where the CREATE_VPORT (op 501) is rejected by the FW:

[40922.763136] idpf 0000:83:00.0: Device HW Reset initiated
[40924.449797] idpf 0000:83:00.0: Transaction failed (op 501)
[40958.148190] idpf 0000:83:00.0: HW reset detected
[40958.161202] BUG: kernel NULL pointer dereference, address: 00000000000000a8
...
[40958.168094] Workqueue: idpf-0000:83:00.0-vc_event idpf_vc_event_task [idpf]
[40958.168865] RIP: 0010:idpf_vc_event_task+0x9b/0x350 [idpf]
...
[40958.177932] Call Trace:
[40958.178491]  <TASK>
[40958.179040]  process_one_work+0x226/0x6d0
[40958.179609]  worker_thread+0x19e/0x340
[40958.180158]  ? __pfx_worker_thread+0x10/0x10
[40958.180702]  kthread+0x10f/0x250
[40958.181238]  ? __pfx_kthread+0x10/0x10
[40958.181774]  ret_from_fork+0x251/0x2b0
[40958.182307]  ? __pfx_kthread+0x10/0x10
[40958.182834]  ret_from_fork_asm+0x1a/0x30
[40958.183370]  </TASK>

Fix the error handling in the init_task to make sure the service and
mailbox tasks are disabled if the error happens during load. These are
started in idpf_vc_core_init(), which spawns the init_task and has no way
of knowing if it failed. If the error happens on reset, following
successful driver load, the tasks can still run, as that will allow the
netdevs to attempt recovery through another reset. Stop the PTP callbacks
either way as those will be restarted by the call to idpf_vc_core_init()
during a successful reset.

(As written by CVE List.)

## Affected

- Linux Linux: from 0fe45467a1041ea3657a7fa3a791c84c104fbd34 before f32ae3cfc976074e9c5927893ce49bcf12f53748; from 0fe45467a1041ea3657a7fa3a791c84c104fbd34 before a514c374edcd33581cdcccf8faa7cc606a600319; from 0fe45467a1041ea3657a7fa3a791c84c104fbd34 before 4d792219fe6f891b5b557a607ac8a0a14eda6e38; 6.7 (not affected: before 6.7; from 6.12.114 up to 6.12.*; from 6.18.6 up to 6.18.*; from 6.19 up to *)
- linux linux_kernel: from 6.7.1 before 6.18.6; 6.7; 6.19

## References

- <https://git.kernel.org/stable/c/f32ae3cfc976074e9c5927893ce49bcf12f53748>
- <https://git.kernel.org/stable/c/a514c374edcd33581cdcccf8faa7cc606a600319> (patch)
- <https://git.kernel.org/stable/c/4d792219fe6f891b5b557a607ac8a0a14eda6e38> (patch)

## Sources

- CVE List: [CVE-2026-23017](https://www.cve.org/CVERecord?id=CVE-2026-23017), CVE Terms of Use, modified 2026-11-05
- NVD: [CVE-2026-23017](https://nvd.nist.gov/vuln/detail/CVE-2026-23017), Public domain, modified 2026-11-05

---

Page: https://cve.day/CVE-2026-23017 · Whole record: https://cve.day/CVE-2026-23017.json · Rebuilt by cve.day 2026-11-25T22:59:13.331Z
