CVE-2026-97410

netconsole: take target_cleanup_list_lock in drop_netconsole_target()

State
Published
Severity
Not scored
Published
Sep 24, 2026
Updated
Sep 25, 2026
Reserved
Sep 24, 2026

Read the record on cve.org

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().

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 97714695ef904a4bdba75ca2f339215c0ae2b1fa to before 84592ee22f7d1583ce33aa733411ff36c7a1c44cAffected
  • 97714695ef904a4bdba75ca2f339215c0ae2b1fa to before fe8e6c0a2f28bdab14cdf7eff4dd9755d3793007Affected
  • 97714695ef904a4bdba75ca2f339215c0ae2b1fa to before 91aeb87f052367a5a2743cc93777dfb4386f2f14Affected
LinuxLinux
  • 6.12Affected
  • before 6.12Not affected
  • 6.12.111 through 6.12.*Not affected
  • 6.18.53 through 6.18.*Not affected
  • 7.2 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.