netconsole: take target_cleanup_list_lock in drop_netconsole_target()
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().
CVE-2026-97410
Primary source · Revision 1
Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.
Security context
Source reference: cve:CVE-2026-97410
Linux
Source reference: /containers/cna/affected/0/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Linux
Source reference: /containers/cna/affected/1/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Structured affected-version data
Original package identities and version rules from this source.
[
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "97714695ef904a4bdba75ca2f339215c0ae2b1fa",
"lessThan": "84592ee22f7d1583ce33aa733411ff36c7a1c44c",
"versionType": "git"
},
{
"status": "affected",
"version": "97714695ef904a4bdba75ca2f339215c0ae2b1fa",
"lessThan": "fe8e6c0a2f28bdab14cdf7eff4dd9755d3793007",
"versionType": "git"
},
{
"status": "affected",
"version": "97714695ef904a4bdba75ca2f339215c0ae2b1fa",
"lessThan": "91aeb87f052367a5a2743cc93777dfb4386f2f14",
"versionType": "git"
}
],
"programFiles": [
"drivers/net/netconsole.c"
],
"defaultStatus": "unaffected"
},
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "6.12"
},
{
"status": "unaffected",
"version": "0",
"lessThan": "6.12",
"versionType": "semver"
},
{
"status": "unaffected",
"version": "6.12.111",
"versionType": "semver",
"lessThanOrEqual": "6.12.*"
},
{
"status": "unaffected",
"version": "6.18.53",
"versionType": "semver",
"lessThanOrEqual": "6.18.*"
},
{
"status": "unaffected",
"version": "7.2",
"versionType": "original_commit_for_fix",
"lessThanOrEqual": "*"
}
],
"programFiles": [
"drivers/net/netconsole.c"
],
"defaultStatus": "affected"
}
]- Related CVEs
- CVE-2026-97410
Source reference:
/cveMetadata/cveId
Publisher severity
No explicit severity was provided.
- Event
- #2035 · Revision 1
- Added to Heist Feed
- Publisher date