Linux: Incorrect Bitwise Shift of Integer
CVE-2023-52810 is a high-severity incorrect bitwise shift of integer vulnerability in Linux, with a CVSS 3.1 base score of 7.8 out of 10. It can be exploited with local access to the system by an attacker with a low-privileged account, without any action from a user. The record lists versions cc61fcf7d1c99f148fe8ddfb5c6ed0bb75861f01, 8f2964df6bfce9d92d81ca552010b8677af8d9dc, a81a56b4cbe3142cc99f6b98e8f9b3a631c768e1 as the first without the flaw, so updating Linux to one of those releases or later removes the exposure. There is no confirmed exploitation so far. EPSS estimates a 0.26% chance of exploitation within 30 days, which is low compared with other CVEs.
High severity with no evidence of exploitation so far.
What to do
- Update Linux to cc61fcf7d1c99f148fe8ddfb5c6ed0bb75861f01 or 8f2964df6bfce9d92d81ca552010b8677af8d9dc or a81a56b4cbe3142cc99f6b98e8f9b3a631c768e1 or 524b4f203afcf87accfe387e846f33f916f0c907, whichever matches your release line, or a later version.
- Update linux_kernel to cc61fcf7d1c9 or 8f2964df6bfc or a81a56b4cbe3 or 524b4f203afc, whichever matches your release line, or a later version.
Affected products and versions
| Vendor | Product | Affected versions | Fixed in |
|---|---|---|---|
| Linux | Linux | 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 up to, but not including, cc61fcf7d1c99f148fe8ddfb5c6ed0bb75861f01; 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 up to, but not including, 8f2964df6bfce9d92d81ca552010b8677af8d9dc; 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 up to, but not including, a81a56b4cbe3142cc99f6b98e8f9b3a631c768e1; 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 up to, but not including, 524b4f203afcf87accfe387e846f33f916f0c907; 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 up to, but not including, 5f148b16972e5f4592629b244d5109b15135f53f; 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 up to, but not including, 0cb567e727339a192f9fd0db00781d73a91d15a6; 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 up to, but not including, 491085258185ffc4fb91555b0dba895fe7656a45; 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 up to, but not including, 1a7c53fdea1d189087544d9a606d249e93c4934b; and 2 more ranges | cc61fcf7d1c99f148fe8ddfb5c6ed0bb75861f01, 8f2964df6bfce9d92d81ca552010b8677af8d9dc, a81a56b4cbe3142cc99f6b98e8f9b3a631c768e1, 524b4f203afcf87accfe387e846f33f916f0c907, 5f148b16972e5f4592629b244d5109b15135f53f, 0cb567e727339a192f9fd0db00781d73a91d15a6 |
| Linux | linux_kernel | 1da177e4c3f4 up to, but not including, cc61fcf7d1c9; 1da177e4c3f4 up to, but not including, 8f2964df6bfc; 1da177e4c3f4 up to, but not including, a81a56b4cbe3; 1da177e4c3f4 up to, but not including, 524b4f203afc; 1da177e4c3f4 up to, but not including, 5f148b16972e; 1da177e4c3f4 up to, but not including, 0cb567e72733; 1da177e4c3f4 up to, but not including, 491085258185; 1da177e4c3f4 up to, but not including, 1a7c53fdea1d; and 1 more ranges | cc61fcf7d1c9, 8f2964df6bfc, a81a56b4cbe3, 524b4f203afc, 5f148b16972e, 0cb567e72733 |
Version data comes from the organisation that assigned the CVE. Confirm against the vendor advisory before deciding you are unaffected.
How the severity score breaks down
- Attack vector
- LocalThe attacker needs local access or must trick a user into running something.
- Attack complexity
- LowNo special conditions are needed; the attack works reliably.
- Privileges required
- LowA basic user account is enough.
- User interaction
- NoneNo action by a victim is required.
- Scope
- UnchangedImpact stays within the vulnerable component.
- Confidentiality
- HighAll data handled by the component can be read.
- Integrity
- HighData or code can be modified at will.
- Availability
- HighThe component can be taken down completely.
Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H. Scored by CNA.
| Scoring system | Score | Severity | Scored by |
|---|---|---|---|
| CVSS 3.1 | 7.8 | High | CNA |
| CVSS 3.1 | 8.4 | High | CISA (ADP) |
Official description
In the Linux kernel, the following vulnerability has been resolved: fs/jfs: Add check for negative db_l2nbperpage l2nbperpage is log2(number of blks per page), and the minimum legal value should be 0, not negative. In the case of l2nbperpage being negative, an error will occur when subsequently used as shift exponent. Syzbot reported this bug: UBSAN: shift-out-of-bounds in fs/jfs/jfs_dmap.c:799:12 shift exponent -16777216 is negative
Source: the CVE record as published by its numbering authority, via NVD and CVE.org.
The underlying weakness: Incorrect Bitwise Shift of Integer
An integer value is specified to be shifted by a negative amount or an amount greater than or equal to the number of bits contained in the value.
How developers prevent this class of flaw
- Implicitly or explicitly add checks and mitigation for negative or over-shift values.
More Incorrect Bitwise Shift of Integer vulnerabilities (CWE-1335)
Timeline
- CVE record published.
- CISA published its SSVC assessment (exploitation: none, automatable: no, technical impact: total).
- Record last changed materially (score, affected products, status or references).
References
Patches and release notes
- git.kernel.org/stable/c/0cb567e727339a192f9fd0db00781d73a91d15a6
- git.kernel.org/stable/c/1a7c53fdea1d189087544d9a606d249e93c4934b
- git.kernel.org/stable/c/491085258185ffc4fb91555b0dba895fe7656a45
- git.kernel.org/stable/c/524b4f203afcf87accfe387e846f33f916f0c907
- git.kernel.org/stable/c/525b861a008143048535011f3816d407940f4bfa
- git.kernel.org/stable/c/5f148b16972e5f4592629b244d5109b15135f53f
- git.kernel.org/stable/c/8f2964df6bfce9d92d81ca552010b8677af8d9dc
- git.kernel.org/stable/c/a81a56b4cbe3142cc99f6b98e8f9b3a631c768e1
- git.kernel.org/stable/c/cc61fcf7d1c99f148fe8ddfb5c6ed0bb75861f01
Spotted an error? Tell us.