Kernel warning via invalid sysfs object deletion
Published Nov 12, 2025 · Updated May 11, 2026
Improper cleanup in affected Linux kernel branches allows attackers to trigger a kernel warning through block queue reconfiguration. In blk_mq_unregister_hctx, kobject_del runs unconditionally after blk_mq_sysfs_register_hctxs fails, so deletion targets an hctx kobject never added to sysfs. The condition requires a failed hctx sysfs creation followed by an administrative hardware-queue count change or disk removal; published evidence confirms a warning, not a crash or broader compromise.
Summary
What happened
Improper cleanup in affected Linux kernel branches allows attackers to trigger a kernel warning through block queue reconfiguration. In blk_mq_unregister_hctx, kobject_del runs unconditionally after blk_mq_sysfs_register_hctxs fails, so deletion targets an hctx kobject never added to sysfs. The condition requires a failed hctx sysfs creation followed by an administrative hardware-queue count change or disk removal; published evidence confirms a warning, not a crash or broader compromise.
The record
- CVE
- CVE-2025-40125
- Published
- Nov 12, 2025
- Updated
- May 11, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- Unavailable
- Attack vector
- local
- Privileges
- Unavailable
Timeline
How it unfolded
- Nov 12, 2025CVE publishedPublication date reported by the CVE source.
- May 11, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=4.20
- Affected versionversion=477e19dedc9d3e1f4443a1d4ae00572a988120ea <06c4826b1d900611096e4621e93133db57e13911
- Affected versionversion=477e19dedc9d3e1f4443a1d4ae00572a988120ea <4b97e99b87a773d52699521d40864f3ec888e9a6
- Affected versionversion=477e19dedc9d3e1f4443a1d4ae00572a988120ea <4c7ef92f6d4d08a27d676e4c348f4e2922cab3ed
- Affected versionversion=477e19dedc9d3e1f4443a1d4ae00572a988120ea <6e7dadc5763c48eb3b9b91265a21f312599ebb2c
- Affected versionversion=477e19dedc9d3e1f4443a1d4ae00572a988120ea <a8c53553f1833cc2d14175d2d72cf37193a01898
- Affected versionversion=477e19dedc9d3e1f4443a1d4ae00572a988120ea <babc634e9fe2803962dba98a07587e835dbc0731
- Affected versionversion=477e19dedc9d3e1f4443a1d4ae00572a988120ea <cc14ea21c4e658814d737ed4dedde6cd626a15ad
- Affected versionversion=477e19dedc9d3e1f4443a1d4ae00572a988120ea <d5ddd76ee52bdc16e9f8b1e7791291e785dab032
What conditions does exploitation require?
What is affected?
Published CVSS scores
No CVSS assessment is available in this record.
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
No sourced classifications are available.
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo