Description (CNA)
In the Linux kernel, the following vulnerability has been resolved: pstore/ram: Add check for kstrdup Add check for the return value of kstrdup() and return the error if it fails in order to avoid NULL pointer dereference.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected c617a3b777b92a0e80ceff2dffaae9350d4c3850 before 8430a8e8e85420d4cb51dcb08b0278ab194ea82f; affected e163fdb3f7f8c62dccf194f3f37a7bcb3c333aa8 before a14cb307267ba7a1715403e071bdc4deda77eef5; affected e163fdb3f7f8c62dccf194f3f37a7bcb3c333aa8 before 38a9d7dac3ad25323145b4aaea3b5f434f50011d; affected e163fdb3f7f8c62dccf194f3f37a7bcb3c333aa8 before f57ba91a46d3fc52bfdac9cca5cf5572ec7afd6d; affected e163fdb3f7f8c62dccf194f3f37a7bcb3c333aa8 before 2a764a2facd9dd88a69777200f65dfd0182765dc; affected e163fdb3f7f8c62dccf194f3f37a7bcb3c333aa8 before 065c81ae5817b245bb9feb6d54e027702740b49a; affected e163fdb3f7f8c62dccf194f3f37a7bcb3c333aa8 before d97038d5ec2062733c1e016caf9baaf68cf64ea1; affected 5.4.12 before 5.4.251 |
| Linux / Linux | affected 5.5; unaffected 0 before 5.5; unaffected 5.4.251 through 5.4.*; unaffected 5.10.188 through 5.10.*; unaffected 5.15.121 through 5.15.*; unaffected 6.1.39 through 6.1.*; unaffected 6.3.13 through 6.3.*; unaffected 6.4.4 through 6.4.*; unaffected 6.5 through * |
CWE
No CWE identifiers supplied.
References
- https://git.kernel.org/stable/c/8430a8e8e85420d4cb51dcb08b0278ab194ea82f
- https://git.kernel.org/stable/c/a14cb307267ba7a1715403e071bdc4deda77eef5
- https://git.kernel.org/stable/c/38a9d7dac3ad25323145b4aaea3b5f434f50011d
- https://git.kernel.org/stable/c/f57ba91a46d3fc52bfdac9cca5cf5572ec7afd6d
- https://git.kernel.org/stable/c/2a764a2facd9dd88a69777200f65dfd0182765dc
- https://git.kernel.org/stable/c/065c81ae5817b245bb9feb6d54e027702740b49a
- https://git.kernel.org/stable/c/d97038d5ec2062733c1e016caf9baaf68cf64ea1