CVE-2024-49933: blk_iocost: fix more out of bound shifts
Vulnerability summary
CVE-2024-49933 is a medium (CVSS 5.5) vulnerability in linux. EPSS estimates a 0.24% chance of exploitation in the next 30 days, higher than 15.3% of scored vulnerabilities.
Not severe (CVSS 5.5, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 38 · Related 35Timeline
- 21-10-2024PublishedVulnerability first disclosed.
- 11-05-2026Last modifiedVulnerability information updated.
Description
In the Linux kernel, the following vulnerability has been resolved: blk_iocost: fix more out of bound shifts Recently running UBSAN caught few out of bound shifts in the ioc_forgive_debts() function: UBSAN: shift-out-of-bounds in block/blk-iocost.c:2142:38 shift exponent 80 is too large for 64-bit type 'u64' (aka 'unsigned long long') ... UBSAN: shift-out-of-bounds in block/blk-iocost.c:2144:30 shift exponent 80 is too large for 64-bit type 'u64' (aka 'unsigned long long') ... Call Trace: <IRQ> dump_stack_lvl+0xca/0x130 __ubsan_handle_shift_out_of_bounds+0x22c/0x280 ? __lock_acquire+0x6441/0x7c10 ioc_timer_fn+0x6cec/0x7750 ? blk_iocost_init+0x720/0x720 ? call_timer_fn+0x5d/0x470 call_timer_fn+0xfa/0x470 ? blk_iocost_init+0x720/0x720 __run_timer_base+0x519/0x700 ... Actual impact of this issue was not identified but I propose to fix the undefined behaviour. The proposed fix to prevent those out of bound shifts consist of precalculating exponent before using it the shift operations by taking min value from the actual exponent and maximum possible number of bits.
CVSS metrics
3 scores · 3 sources · 1 version- OSV · UbuntuEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- OSV · DebianEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
EPSS trend
Probability
0.24%
Chance of exploitation in the next 30 days
Percentile
15%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.24% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeNo weakness data has been published for this record.
Affected systems
Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Ubuntu122 products
- linux< 5.15.0-127.137 | < 6.8.0-54.56
- linux-allwinner-5.19All versions (No fix recorded)
- linux-aws< 5.15.0-1073.79 | < 6.8.0-1023.25
- linux-aws-5.0All versions (No fix recorded)
- linux-aws-5.11All versions (No fix recorded)
Linux2 products
- linux≥ bec02dbbafad534674309f8b948094900f456797, < 1f61d509257d6a05763d05bf37943b35306522b1 | ≥ bec02dbbafad534674309f8b948094900f456797, < f4ef9bef023d5c543cb0f3194ecacfd47ef590ec | ≥ bec02dbbafad534674309f8b948094900f456797, < 59121bb38fdc01434ea3fe361ee02b59f036227f | ≥ bec02dbbafad534674309f8b948094900f456797, < 1ab2cfe19700fb3dde4c7dfec392acff34db3120 | ≥ bec02dbbafad534674309f8b948094900f456797, < 1b120f151871eb47ce9f283c007af3f8ae1d990e | ≥ bec02dbbafad534674309f8b948094900f456797, < 364022095bdd4108efdaaa68576afa4712a5d085 | ≥ bec02dbbafad534674309f8b948094900f456797, < 9bce8005ec0dcb23a58300e8522fe4a31da606fa | 5.10
- linux_kernel< 5.10.227 | ≥ 5.11, < 5.15.168 | ≥ 5.16, < 6.1.113 | ≥ 6.2, < 6.6.55 | ≥ 6.7, < 6.10.14 | ≥ 6.11, < 6.11.3
Debian1 product
- linux< 6.1.115-1 | < 6.11.4-1
3 vendors · 125 products