RDMA/bnxt_re: Clear VM_MAYWRITE on DBR/toggle page mmap
- 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 6.6.157, 6.12.110, 6.18.52, 7.2.6
- 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/bnxt_re: Clear VM_MAYWRITE on DBR/toggle page mmap bnxt_re_mmap() rejects VM_WRITE for the DBR_PAGE and TOGGLE_PAGE mmap flags, but a read-only mapping can still retain VM_MAYWRITE. nd later be upgraded with mprotect(PROT_WRITE). This can bypass the write check that only runs at mmap time. Clear VM_MAYWRITE before vm_insert_page() in the shared DBR/toggle-page branch, matching the existing policy that userspace writes are not expected for these pages.
Timeline
- CVE published
- Record last updated
Affected versions
- Linux Linux
From ea222485788208cd79bad42d25aae9232b33a934 · fixed in 5361fb1e5bc246f9a2c0721543f72c8dac200769; From ea222485788208cd79bad42d25aae9232b33a934 · fixed in 13e7861809ef9e7e720ff5f0af1d4293a6d0a9b4; From ea222485788208cd79bad42d25aae9232b33a934 · fixed in 0afbfe019c881483337d9f8304e678af05ebe7cc; From ea222485788208cd79bad42d25aae9232b33a934 · fixed in 518df61b9b0a5b288dfa72c87246045329c18b8c; From ea222485788208cd79bad42d25aae9232b33a934 · fixed in 9b66c9af7172ffcf727214fa0ebe9a5e1ed6eb16
- Linux Linux
6.6
- KernelLinux
From 6.6.0 · fixed in 6.6.157; From 6.7.0 · fixed in 6.12.110; From 6.13.0 · fixed in 6.18.52; From 6.19.0 · fixed in 7.2.6