perf/x86/amd: fix potential integer overflow on shift of a int
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel fbf7b0e4cef3b5470b610f14fb9faa5ee7f63954, Kernel 14cc13e433e1067557435b1adbf05608d7d47a93, Kernel a4d01fb87ece45d4164fd725890211ccf9a307a9 and 7 more.
In the Linux kernel, the following vulnerability has been resolved: perf/x86/amd: fix potential integer overflow on shift of a int The left shift of int 32 bit integer constant 1 is evaluated using 32 bit arithmetic and then passed as a 64 bit function argument. In the case where i is 32 or more this can lead to an overflow. Avoid this by shifting using the BIT_ULL macro instead.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=d8a6a443ff0aea5893f0a7f2726973b496b76420 <fbf7b0e4cef3b5470b610f14fb9faa5ee7f63954, >=471af006a747f1c535c8a8c6c0973c320fe01b22 <14cc13e433e1067557435b1adbf05608d7d47a93, >=471af006a747f1c535c8a8c6c0973c320fe01b22 <a4d01fb87ece45d4164fd725890211ccf9a307a9, >=471af006a747f1c535c8a8c6c0973c320fe01b22 <f84c9b72fb200633774704d8020f769c88a4b249, >=5.4.22 <5.4.231, >=5.5.6 <5.6, =3512462036dbe44d88e93e75ee8a993781183ddb, =5.6, >=471af006a747f1c535c8a8c6c0973c320fe01b22 <08245672cdc6505550d1a5020603b0a8d4a6dcc7 | fbf7b0e4cef3b5470b610f14fb9faa5ee7f63954, 14cc13e433e1067557435b1adbf05608d7d47a93, a4d01fb87ece45d4164fd725890211ccf9a307a9, f84c9b72fb200633774704d8020f769c88a4b249, 5.4.231, 5.6, 08245672cdc6505550d1a5020603b0a8d4a6dcc7 |
| linux-kernel: Kernel | >=5.16.0 <6.1.9, >=5.4.22 <5.4.231, >=5.5.6 <5.6, >=5.6.0 <5.10.166, >=5.11.0 <5.15.91 | 6.1.9, 5.4.231, 5.6, 5.10.166, 5.15.91 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket