Linux
proc: use the same treatment to check proc_lseek as ones for proc_read_iter et.al
In the Linux kernel, the following vulnerability has been resolved: proc: use the same treatment to check proc_lseek as ones for proc_read_iter et.al Check pde->proc_ops->proc_lseek directly may cause UAF in rmmod scenario. It's a gap in proc_reg_open() after commit 654b33ada4ab("proc: fix UAF in proc_get_inode()"). Followed by AI Viro's suggestion, fix it in same manner.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 3f61631d47f115b83c935d0039f95cb68b0c8ab7, < c35b0feb80b48720dfbbf4e33759c7be3faaebb6
- >= 3f61631d47f115b83c935d0039f95cb68b0c8ab7, < 33c778ea0bd0fa62ff590497e72562ff90f82b13
- >= 3f61631d47f115b83c935d0039f95cb68b0c8ab7, < fc1072d934f687e1221d685cf1a49a5068318f34
- >= 3f61631d47f115b83c935d0039f95cb68b0c8ab7, < d136502e04d8853a9aecb335d07bbefd7a1519a8
- >= 3f61631d47f115b83c935d0039f95cb68b0c8ab7, < 1fccbfbae1dd36198dc47feac696563244ad81d3
- >= 3f61631d47f115b83c935d0039f95cb68b0c8ab7, < ff7ec8dc1b646296f8d94c39339e8d3833d16c05
Fixed in c35b0feb80b48720dfbbf4e33759c7be3faaebb6, 33c778ea0bd0fa62ff590497e72562ff90f82b13, fc1072d934f687e1221d685cf1a49a5068318f34, d136502e04d8853a9aecb335d07bbefd7a1519a8, 1fccbfbae1dd36198dc47feac696563244ad81d3, ff7ec8dc1b646296f8d94c39339e8d3833d16c05
- 6.0
Fixed in 0, 6.1.148, 6.6.102, 6.12.42, 6.15.10, 6.16.1, 6.17
Mitigation
Upgrade Linux to c35b0feb80b48720dfbbf4e33759c7be3faaebb6 or 33c778ea0bd0fa62ff590497e72562ff90f82b13 or fc1072d934f687e1221d685cf1a49a5068318f34 or d136502e04d8853a9aecb335d07bbefd7a1519a8 or 1fccbfbae1dd36198dc47feac696563244ad81d3 or ff7ec8dc1b646296f8d94c39339e8d3833d16c05 or later.
Upgrade Linux to 0 or 6.1.148 or 6.6.102 or 6.12.42 or 6.15.10 or 6.16.1 or 6.17 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.