CVE-2024-53071
published medium CVSS 3.1 · 5.5drm/panthor: Be stricter about IO mapping flags
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux5fe909cae118a757a77afb37174b99436a36d2e2 to < 2604afd65043e8f9d4be036cb1242adf6b5723cf · 5fe909cae118a757a77afb37174b99436a36d2e2 to < f432a1621f049bb207e78363d9d0e3c6fa2da5db · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.10 (affected) · 0 to < 6.10 (unaffected · semver) · 6.11.8 through 6.11.* (unaffected · semver) · 6.12 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Ubuntu | noble | linux-buildinfo-6.11.0-1015-oem | Advisory build | 6.11.0-1015.15 | USN-7310-1 |
| Ubuntu | noble | linux-headers-6.11.0-1015-oem | Advisory build | 6.11.0-1015.15 | USN-7310-1 |
| Ubuntu | noble | linux-image-unsigned-6.11.0-1015-oem | Advisory build | 6.11.0-1015.15 | USN-7310-1 |
| Ubuntu | noble | linux-modules-6.11.0-1015-oem | Advisory build | 6.11.0-1015.15 | USN-7310-1 |
Show 96 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Ubuntu | noble | linux-modules-ipu6-6.11.0-1015-oem | Advisory build | 6.11.0-1015.15 | USN-7310-1 |
| Ubuntu | noble | linux-modules-ipu7-6.11.0-1015-oem | Advisory build | 6.11.0-1015.15 | USN-7310-1 |
| Ubuntu | noble | linux-modules-iwlwifi-6.11.0-1015-oem | Advisory build | 6.11.0-1015.15 | USN-7310-1 |
| Ubuntu | noble | linux-modules-usbio-6.11.0-1015-oem | Advisory build | 6.11.0-1015.15 | USN-7310-1 |
| Ubuntu | noble | linux-modules-vision-6.11.0-1015-oem | Advisory build | 6.11.0-1015.15 | USN-7310-1 |
| Ubuntu | noble | linux-oem-6.11 | Advisory build | 6.11.0-1015.15 | USN-7310-1 |
| Ubuntu | noble | linux-oem-6.11-headers-6.11.0-1015 | Advisory build | 6.11.0-1015.15 | USN-7310-1 |
| Ubuntu | noble | linux-oem-6.11-tools-6.11.0-1015 | Advisory build | 6.11.0-1015.15 | USN-7310-1 |
| Ubuntu | noble | linux-tools-6.11.0-1015-oem | Advisory build | 6.11.0-1015.15 | USN-7310-1 |
| Ubuntu | oracular | linux | Advisory build | 6.11.0-18.18 | USN-7276-1 |
| Ubuntu | oracular | linux-aws | Advisory build | 6.11.0-1009.10 | USN-7277-1 |
| Ubuntu | oracular | linux-aws-cloud-tools-6.11.0-1009 | Advisory build | 6.11.0-1009.10 | USN-7277-1 |
| Ubuntu | oracular | linux-aws-headers-6.11.0-1009 | Advisory build | 6.11.0-1009.10 | USN-7277-1 |
| Ubuntu | oracular | linux-aws-tools-6.11.0-1009 | Advisory build | 6.11.0-1009.10 | USN-7277-1 |
| Ubuntu | oracular | linux-azure | Advisory build | 6.11.0-1009.9 | USN-7277-1 |
| Ubuntu | oracular | linux-azure-cloud-tools-6.11.0-1009 | Advisory build | 6.11.0-1009.9 | USN-7277-1 |
| Ubuntu | oracular | linux-azure-headers-6.11.0-1009 | Advisory build | 6.11.0-1009.9 | USN-7277-1 |
| Ubuntu | oracular | linux-azure-tools-6.11.0-1009 | Advisory build | 6.11.0-1009.9 | USN-7277-1 |
| Ubuntu | oracular | linux-bpf-dev | Advisory build | 6.11.0-18.18 | USN-7276-1 |
| Ubuntu | oracular | linux-buildinfo-6.11.0-1005-realtime | Advisory build | 6.11.0-1005.5 | USN-7277-1 |
| Ubuntu | oracular | linux-buildinfo-6.11.0-1008-raspi | Advisory build | 6.11.0-1008.8 | USN-7277-1 |
| Ubuntu | oracular | linux-buildinfo-6.11.0-1009-aws | Advisory build | 6.11.0-1009.10 | USN-7277-1 |
| Ubuntu | oracular | linux-buildinfo-6.11.0-1009-azure | Advisory build | 6.11.0-1009.9 | USN-7277-1 |
| Ubuntu | oracular | linux-buildinfo-6.11.0-1009-gcp | Advisory build | 6.11.0-1009.9 | USN-7277-1 |
| Ubuntu | oracular | linux-buildinfo-6.11.0-1010-lowlatency | Advisory build | 6.11.0-1010.11 | USN-7276-1 |
| Ubuntu | oracular | linux-buildinfo-6.11.0-1010-lowlatency-64k | Advisory build | 6.11.0-1010.11 | USN-7276-1 |
| Ubuntu | oracular | linux-buildinfo-6.11.0-1011-oracle | Advisory build | 6.11.0-1011.12 | USN-7277-1 |
| Ubuntu | oracular | linux-buildinfo-6.11.0-1011-oracle-64k | Advisory build | 6.11.0-1011.12 | USN-7277-1 |
| Ubuntu | oracular | linux-buildinfo-6.11.0-18-generic | Advisory build | 6.11.0-18.18 | USN-7276-1 |
| Ubuntu | oracular | linux-buildinfo-6.11.0-18-generic-64k | Advisory build | 6.11.0-18.18 | USN-7276-1 |
| Ubuntu | oracular | linux-cloud-tools-6.11.0-1005-realtime | Advisory build | 6.11.0-1005.5 | USN-7277-1 |
| Ubuntu | oracular | linux-cloud-tools-6.11.0-1009-aws | Advisory build | 6.11.0-1009.10 | USN-7277-1 |
| Ubuntu | oracular | linux-cloud-tools-6.11.0-1009-azure | Advisory build | 6.11.0-1009.9 | USN-7277-1 |
| Ubuntu | oracular | linux-cloud-tools-6.11.0-1010-lowlatency | Advisory build | 6.11.0-1010.11 | USN-7276-1 |
| Ubuntu | oracular | linux-cloud-tools-6.11.0-18 | Advisory build | 6.11.0-18.18 | USN-7276-1 |
| Ubuntu | oracular | linux-cloud-tools-6.11.0-18-generic | Advisory build | 6.11.0-18.18 | USN-7276-1 |
| Ubuntu | oracular | linux-cloud-tools-common | Advisory build | 6.11.0-18.18 | USN-7276-1 |
| Ubuntu | oracular | linux-doc | Advisory build | 6.11.0-18.18 | USN-7276-1 |
| Ubuntu | oracular | linux-gcp | Advisory build | 6.11.0-1009.9 | USN-7277-1 |
| Ubuntu | oracular | linux-gcp-headers-6.11.0-1009 | Advisory build | 6.11.0-1009.9 | USN-7277-1 |
| Ubuntu | oracular | linux-gcp-tools-6.11.0-1009 | Advisory build | 6.11.0-1009.9 | USN-7277-1 |
| Ubuntu | oracular | linux-headers-6.11.0-1005-realtime | Advisory build | 6.11.0-1005.5 | USN-7277-1 |
| Ubuntu | oracular | linux-headers-6.11.0-1008-raspi | Advisory build | 6.11.0-1008.8 | USN-7277-1 |
| Ubuntu | oracular | linux-headers-6.11.0-1009-aws | Advisory build | 6.11.0-1009.10 | USN-7277-1 |
| Ubuntu | oracular | linux-headers-6.11.0-1009-azure | Advisory build | 6.11.0-1009.9 | USN-7277-1 |
| Ubuntu | oracular | linux-headers-6.11.0-1009-gcp | Advisory build | 6.11.0-1009.9 | USN-7277-1 |
| Ubuntu | oracular | linux-headers-6.11.0-1010-lowlatency | Advisory build | 6.11.0-1010.11 | USN-7276-1 |
| Ubuntu | oracular | linux-headers-6.11.0-1010-lowlatency-64k | Advisory build | 6.11.0-1010.11 | USN-7276-1 |
| Ubuntu | oracular | linux-headers-6.11.0-1011-oracle | Advisory build | 6.11.0-1011.12 | USN-7277-1 |
| Ubuntu | oracular | linux-headers-6.11.0-1011-oracle-64k | Advisory build | 6.11.0-1011.12 | USN-7277-1 |
| Ubuntu | oracular | linux-headers-6.11.0-18 | Advisory build | 6.11.0-18.18 | USN-7276-1 |
| Ubuntu | oracular | linux-headers-6.11.0-18-generic | Advisory build | 6.11.0-18.18 | USN-7276-1 |
| Ubuntu | oracular | linux-headers-6.11.0-18-generic-64k | Advisory build | 6.11.0-18.18 | USN-7276-1 |
| Ubuntu | oracular | linux-image-6.11.0-1008-raspi | Advisory build | 6.11.0-1008.8 | USN-7277-1 |
| Ubuntu | oracular | linux-image-6.11.0-1008-raspi-dbgsym | Advisory build | 6.11.0-1008.8 | USN-7277-1 |
| Ubuntu | oracular | linux-image-6.11.0-18-generic | Advisory build | 6.11.0-18.18 | USN-7276-1 |
| Ubuntu | oracular | linux-image-6.11.0-18-generic-dbgsym | Advisory build | 6.11.0-18.18 | USN-7276-1 |
| Ubuntu | oracular | linux-image-unsigned-6.11.0-1005-realtime | Advisory build | 6.11.0-1005.5 | USN-7277-1 |
| Ubuntu | oracular | linux-image-unsigned-6.11.0-1005-realtime-dbgsym | Advisory build | 6.11.0-1005.5 | USN-7277-1 |
| Ubuntu | oracular | linux-image-unsigned-6.11.0-1009-aws | Advisory build | 6.11.0-1009.10 | USN-7277-1 |
| Ubuntu | oracular | linux-image-unsigned-6.11.0-1009-aws-dbgsym | Advisory build | 6.11.0-1009.10 | USN-7277-1 |
| Ubuntu | oracular | linux-image-unsigned-6.11.0-1009-azure | Advisory build | 6.11.0-1009.9 | USN-7277-1 |
| Ubuntu | oracular | linux-image-unsigned-6.11.0-1009-azure-dbgsym | Advisory build | 6.11.0-1009.9 | USN-7277-1 |
| Ubuntu | oracular | linux-image-unsigned-6.11.0-1009-gcp | Advisory build | 6.11.0-1009.9 | USN-7277-1 |
| Ubuntu | oracular | linux-image-unsigned-6.11.0-1009-gcp-dbgsym | Advisory build | 6.11.0-1009.9 | USN-7277-1 |
| Ubuntu | oracular | linux-image-unsigned-6.11.0-1010-lowlatency | Advisory build | 6.11.0-1010.11 | USN-7276-1 |
| Ubuntu | oracular | linux-image-unsigned-6.11.0-1010-lowlatency-64k | Advisory build | 6.11.0-1010.11 | USN-7276-1 |
| Ubuntu | oracular | linux-image-unsigned-6.11.0-1010-lowlatency-64k-dbgsym | Advisory build | 6.11.0-1010.11 | USN-7276-1 |
| Ubuntu | oracular | linux-image-unsigned-6.11.0-1010-lowlatency-dbgsym | Advisory build | 6.11.0-1010.11 | USN-7276-1 |
| Ubuntu | oracular | linux-image-unsigned-6.11.0-1011-oracle | Advisory build | 6.11.0-1011.12 | USN-7277-1 |
| Ubuntu | oracular | linux-image-unsigned-6.11.0-1011-oracle-64k | Advisory build | 6.11.0-1011.12 | USN-7277-1 |
| Ubuntu | oracular | linux-image-unsigned-6.11.0-1011-oracle-64k-dbgsym | Advisory build | 6.11.0-1011.12 | USN-7277-1 |
| Ubuntu | oracular | linux-image-unsigned-6.11.0-1011-oracle-dbgsym | Advisory build | 6.11.0-1011.12 | USN-7277-1 |
| Ubuntu | oracular | linux-image-unsigned-6.11.0-18-generic | Advisory build | 6.11.0-18.18 | USN-7276-1 |
| Ubuntu | oracular | linux-image-unsigned-6.11.0-18-generic-64k | Advisory build | 6.11.0-18.18 | USN-7276-1 |
| Ubuntu | oracular | linux-image-unsigned-6.11.0-18-generic-64k-dbgsym | Advisory build | 6.11.0-18.18 | USN-7276-1 |
| Ubuntu | oracular | linux-image-unsigned-6.11.0-18-generic-dbgsym | Advisory build | 6.11.0-18.18 | USN-7276-1 |
| Ubuntu | oracular | linux-lib-rust-6.11.0-18-generic | Advisory build | 6.11.0-18.18 | USN-7276-1 |
| Ubuntu | oracular | linux-libc-dev | Advisory build | 6.11.0-18.18 | USN-7276-1 |
| Ubuntu | oracular | linux-lowlatency | Advisory build | 6.11.0-1010.11 | USN-7276-1 |
| Ubuntu | oracular | linux-lowlatency-cloud-tools-6.11.0-1010 | Advisory build | 6.11.0-1010.11 | USN-7276-1 |
| Ubuntu | oracular | linux-lowlatency-headers-6.11.0-1010 | Advisory build | 6.11.0-1010.11 | USN-7276-1 |
| Ubuntu | oracular | linux-lowlatency-lib-rust-6.11.0-1010-lowlatency | Advisory build | 6.11.0-1010.11 | USN-7276-1 |
| Ubuntu | oracular | linux-lowlatency-tools-6.11.0-1010 | Advisory build | 6.11.0-1010.11 | USN-7276-1 |
| Ubuntu | oracular | linux-modules-6.11.0-1005-realtime | Advisory build | 6.11.0-1005.5 | USN-7277-1 |
| Ubuntu | oracular | linux-modules-6.11.0-1008-raspi | Advisory build | 6.11.0-1008.8 | USN-7277-1 |
| Ubuntu | oracular | linux-modules-6.11.0-1009-aws | Advisory build | 6.11.0-1009.10 | USN-7277-1 |
| Ubuntu | oracular | linux-modules-6.11.0-1009-azure | Advisory build | 6.11.0-1009.9 | USN-7277-1 |
| Ubuntu | oracular | linux-modules-6.11.0-1009-gcp | Advisory build | 6.11.0-1009.9 | USN-7277-1 |
| Ubuntu | oracular | linux-modules-6.11.0-1010-lowlatency | Advisory build | 6.11.0-1010.11 | USN-7276-1 |
| Ubuntu | oracular | linux-modules-6.11.0-1010-lowlatency-64k | Advisory build | 6.11.0-1010.11 | USN-7276-1 |
| Ubuntu | oracular | linux-modules-6.11.0-1011-oracle | Advisory build | 6.11.0-1011.12 | USN-7277-1 |
| Ubuntu | oracular | linux-modules-6.11.0-1011-oracle-64k | Advisory build | 6.11.0-1011.12 | USN-7277-1 |
| Ubuntu | oracular | linux-modules-6.11.0-18-generic | Advisory build | 6.11.0-18.18 | USN-7276-1 |
| Ubuntu | oracular | linux-modules-6.11.0-18-generic-64k | Advisory build | 6.11.0-18.18 | USN-7276-1 |
| Ubuntu | oracular | linux-modules-extra-6.11.0-1005-realtime | Advisory build | 6.11.0-1005.5 | USN-7277-1 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
In the Linux kernel, the following vulnerability has been resolved: drm/panthor: Be stricter about IO mapping flags The current panthor_device_mmap_io() implementation has two issues: 1. For mapping DRM_PANTHOR_USER_FLUSH_ID_MMIO_OFFSET, panthor_device_mmap_io() bails if VM_WRITE is set, but does not clear VM_MAYWRITE. That means userspace can use mprotect() to make the mapping writable later on. This is a classic Linux driver gotcha. I don't think this actually has any impact in practice: When the GPU is powered, writes to the FLUSH_ID seem to be ignored; and when the GPU is not powered, the dummy_latest_flush page provided by the driver is deliberately designed to not do any flushes, so the only thing writing to the dummy_latest_flush could achieve would be to make *more* flushes happen. 2. panthor_device_mmap_io() does not block MAP_PRIVATE mappings (which are mappings without the VM_SHARED flag). MAP_PRIVATE in combination with VM_MAYWRITE indicates that the VMA has copy-on-write semantics, which for VM_PFNMAP are semi-supported but fairly cursed. In particular, in such a mapping, the driver can only install PTEs during mmap() by calling remap_pfn_range() (because remap_pfn_range() wants to **store the physical address of the mapped physical memory into the vm_pgoff of the VMA**); installing PTEs later on with a fault handler (as panthor does) is not supported in private mappings, and so if you try to fault in such a mapping, vmf_insert_pfn_prot() splats when it hits a BUG() check. Fix it by clearing the VM_MAYWRITE flag (userspace writing to the FLUSH_ID doesn't make sense) and requiring VM_SHARED (copy-on-write semantics for the FLUSH_ID don't make sense). Reproducers for both scenarios are in the notes of my patch on the mailing list; I tested that these bugs exist on a Rock 5B machine. Note that I only compile-tested the patch, I haven't tested it; I don't have a working kernel build setup for the test machine yet. Please test it before applying it.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 5.5 / 10
- Severity
- medium
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 5fe909cae118a757a77afb37174b99436a36d2e2 to < 2604afd65043e8f9d4be036cb1242adf6b5723cf (affected · git)5fe909cae118a757a77afb37174b99436a36d2e2 to < f432a1621f049bb207e78363d9d0e3c6fa2da5db (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 6.10 (affected)0 to < 6.10 (unaffected · semver)6.11.8 through 6.11.* (unaffected · semver)6.12 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
1- CWE-noinfo Not enough information
References
2Provider assertions
2Linux · cna
drm/panthor: Be stricter about IO mapping flags
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 793bc2859bd62812f0b633c361ff0af38e41137729965db517251ad6504acc15
- Ingested
- 23 Sep 2026, 08:30:55 UTC
- Source record
- Official CVE record