CVE-2022-49259
Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
26/02/2025
Last modified:
21/10/2025
Description
In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
block: don&#39;t delete queue kobject before its children<br />
<br />
kobjects aren&#39;t supposed to be deleted before their child kobjects are<br />
deleted. Apparently this is usually benign; however, a WARN will be<br />
triggered if one of the child kobjects has a named attribute group:<br />
<br />
sysfs group &#39;modes&#39; not found for kobject &#39;crypto&#39;<br />
WARNING: CPU: 0 PID: 1 at fs/sysfs/group.c:278 sysfs_remove_group+0x72/0x80<br />
...<br />
Call Trace:<br />
sysfs_remove_groups+0x29/0x40 fs/sysfs/group.c:312<br />
__kobject_del+0x20/0x80 lib/kobject.c:611<br />
kobject_cleanup+0xa4/0x140 lib/kobject.c:696<br />
kobject_release lib/kobject.c:736 [inline]<br />
kref_put include/linux/kref.h:65 [inline]<br />
kobject_put+0x53/0x70 lib/kobject.c:753<br />
blk_crypto_sysfs_unregister+0x10/0x20 block/blk-crypto-sysfs.c:159<br />
blk_unregister_queue+0xb0/0x110 block/blk-sysfs.c:962<br />
del_gendisk+0x117/0x250 block/genhd.c:610<br />
<br />
Fix this by moving the kobject_del() and the corresponding<br />
kobject_uevent() to the correct place.
Impact
Base Score 3.x
5.50
Severity 3.x
MEDIUM
Vulnerable products and versions
| CPE | From | Up to |
|---|---|---|
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 4.16 (including) | 4.19.238 (excluding) |
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 4.20 (including) | 5.4.189 (excluding) |
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 5.5 (including) | 5.10.110 (excluding) |
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 5.11 (including) | 5.15.33 (excluding) |
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 5.16 (including) | 5.16.19 (excluding) |
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 5.17 (including) | 5.17.2 (excluding) |
To consult the complete list of CPE names with products and versions, see this page
References to Advisories, Solutions, and Tools
- https://git.kernel.org/stable/c/0b5924a14d64487ebd51127b0358d06066ef5384
- https://git.kernel.org/stable/c/0f69288253e9fc7c495047720e523b9f1aba5712
- https://git.kernel.org/stable/c/3d7e32c8da45957326f56937e0471c686d1a7711
- https://git.kernel.org/stable/c/84fe3ca6e7910beb47ec13509d484f84fa2a41ad
- https://git.kernel.org/stable/c/b2001eb10f59363da930cdd6e086a2861986fa18
- https://git.kernel.org/stable/c/cf0cb8686e55d9c022944bc6ba9e19e832889e83
- https://git.kernel.org/stable/c/efaa0e969261e97c1fdd8e0338e5dd3ba5b9219c



