RDMA/irdma: Fix kernel stack leak in irdma_create_user_ah()
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 5.15.203, 6.1.167, 6.6.130, 6.12.77, 6.18.17, and 1 more
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
Summary
In the Linux kernel, the following vulnerability has been resolved: RDMA/irdma: Fix kernel stack leak in irdma_create_user_ah() struct irdma_create_ah_resp { // 8 bytes, no padding __u32 ah_id; // offset 0 - SET (uresp.ah_id = ah->sc_ah.ah_info.ah_idx) __u8 rsvd[4]; // offset 4 - NEVER SET <- LEAK }; rsvd[4]: 4 bytes of stack memory leaked unconditionally. Only ah_id is assigned before ib_respond_udata(). The reserved members of the structure were not zeroed.
Timeline
- CVE published
- Record last updated
Affected versions
- Linux Linux
From b48c24c2d710cf34810c555dcef883a3d35a9c08 · fixed in 1f70df004fdd944653013ccc2e1dfd472a693b46; From b48c24c2d710cf34810c555dcef883a3d35a9c08 · fixed in 14b47c07c69930254f549a17ee245c80a65b1609; From b48c24c2d710cf34810c555dcef883a3d35a9c08 · fixed in 1b1fac4c7a3ab7f52e9cfb91e5c91216646ca4d8; From b48c24c2d710cf34810c555dcef883a3d35a9c08 · fixed in 2fd37450d271d74b3847baed284f9cfdf198c6f8; From b48c24c2d710cf34810c555dcef883a3d35a9c08 · fixed in cfe962216c164fe2b1c1fb6ac925a7413f5abc84; From b48c24c2d710cf34810c555dcef883a3d35a9c08 · fixed in c9bd0007c4bdb7806bbd323287e50f9cf467c51a; From b48c24c2d710cf34810c555dcef883a3d35a9c08 · fixed in 74586c6da9ea222a61c98394f2fc0a604748438c
- Linux Linux
5.14
- KernelLinux
From 5.14.0 · fixed in 5.15.203; From 5.16.0 · fixed in 6.1.167; From 6.2.0 · fixed in 6.6.130; From 6.7.0 · fixed in 6.12.77; From 6.13.0 · fixed in 6.18.17; From 6.19.0 · fixed in 6.19.7
References 7
git.kernel.org
- stable/c/1f70df004fdd944653013ccc2e1dfd472a693b46
- stable/c/14b47c07c69930254f549a17ee245c80a65b1609
- stable/c/1b1fac4c7a3ab7f52e9cfb91e5c91216646ca4d8
- stable/c/2fd37450d271d74b3847baed284f9cfdf198c6f8
- stable/c/cfe962216c164fe2b1c1fb6ac925a7413f5abc84
- stable/c/c9bd0007c4bdb7806bbd323287e50f9cf467c51a
- stable/c/74586c6da9ea222a61c98394f2fc0a604748438c