fs/9p: only translate RWX permissions for plain 9P2000
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 45089142b1497dab2327d60f6c71c40766fc3ea4 · < e55c601af3b1223a84f9f27f9cdbd2af5e203bf3| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
fs/9p: only translate RWX permissions for plain 9P2000
Garbage in plain 9P2000's perm bits is allowed through, which causes it to be able to set (among others) the suid bit. This was presumably not the intent since the unix extended bits are handled explicitly and conditionally on .u.
From the CVE record · Linux
The Linux kernel’s fs/9p component can pass through garbage permission bits in plain 9P2000, potentially setting the suid bit. This occurs when those permission bits are processed; the input does not specify attacker access requirements or user interaction.
Engineers running Linux kernels that use fs/9p with plain 9P2000 should check whether their kernel is affected; affected versions are not specified.