# CVE-2026-97410: netconsole: take target_cleanup_list_lock in drop_netconsole_target()

- Severity: not scored yet
- 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.21%, higher than 6% of CVEs (2026-11-30)
- Published: 2026-09-24T16:03:17.074Z
- Modified: 2026-09-25T13:17:24.553Z
- Assigned by: Linux

## Description

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

netconsole: take target_cleanup_list_lock in drop_netconsole_target()

drop_netconsole_target() unlinks the target while only holding
target_list_lock. However, when the underlying interface has been
unregistered, netconsole_netdev_event() moves the target from
target_list to target_cleanup_list, and netconsole_process_cleanups_core()
walks that list under target_cleanup_list_lock only.

If a user removes the configfs target at the same time the cleanup
worker is iterating target_cleanup_list, list_del() can corrupt the list
because the two paths take disjoint locks while operating on the same
list node.

Acquire target_cleanup_list_lock around the list_del() so the unlink is
serialised against netconsole_process_cleanups_core() regardless of
which list the target currently belongs to. The state transition that
downgrades STATE_DEACTIVATED to STATE_DISABLED is left intact and is
performed under the same combined locking, preserving the existing
ordering with resume_target().

(As written by CVE List.)

## Affected

- Linux Linux: from 97714695ef904a4bdba75ca2f339215c0ae2b1fa before 84592ee22f7d1583ce33aa733411ff36c7a1c44c; from 97714695ef904a4bdba75ca2f339215c0ae2b1fa before fe8e6c0a2f28bdab14cdf7eff4dd9755d3793007; from 97714695ef904a4bdba75ca2f339215c0ae2b1fa before 91aeb87f052367a5a2743cc93777dfb4386f2f14; 6.12 (not affected: before 6.12; from 6.12.111 up to 6.12.*; from 6.18.53 up to 6.18.*; from 7.2 up to *)

## References

- <https://git.kernel.org/stable/c/84592ee22f7d1583ce33aa733411ff36c7a1c44c>
- <https://git.kernel.org/stable/c/fe8e6c0a2f28bdab14cdf7eff4dd9755d3793007>
- <https://git.kernel.org/stable/c/91aeb87f052367a5a2743cc93777dfb4386f2f14>

## Sources

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

---

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