CVE-2026-74381

Source
https://cve.org/CVERecord?id=CVE-2026-74381
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-74381.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-74381
Downstream
Published
2026-08-15T05:58:58.354Z
Modified
2026-08-18T03:30:56.396813098Z
Summary
gpu: host1x: Allow entries in BO caches to be freed
Details

In the Linux kernel, the following vulnerability has been resolved:

gpu: host1x: Allow entries in BO caches to be freed

When a buffer object is pinned via host1xbopin() with a cache, the resulting mapping is kept in the cache so it can be reused on subsequent pins. Each mapping held a reference to the underlying host1xbo (taken in tegrabopin / gatherbo_pin), so as long as a mapping was cached, the bo itself could not be freed.

However, the only way to remove the cached mapping was through the free path of the buffer object. This meant that if a bo got cached, it could never get freed again.

Resolve the circularity by holding a weak reference to the bo from the cache side. This is done by having the .pin callbacks not bump the bo's refcount -- instead the common Host1x bo code does so, except for the cache reference.

Also move the remove-cache-mapping-on-free code into a common function inside Host1x code. This is only called from the TegraDRM GEM buffers since those are the only ones that can be cached at the moment.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/74xxx/CVE-2026-74381.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
1f39b1dfa53c84b56d7ad37fed44afda7004959d
Fixed
af755456299d44e4ed6af3b7c70a7f03ea37fdf1
Fixed
71c017b3f83ff72638f2a1b1d6d4e7bc61d30231
Fixed
0e9dd7cfb9986b78cc81eca126ccfbf57f4c0602
Fixed
8c0d3cf0d5108c96317e0eca92b60dd368867cef
Fixed
df63c76f9c8d881ca7bce1aecfba512328d0527d
Fixed
3cbf5e3c46e66d9b3b6b91099bb720c6cb1be3bc

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-74381.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
5.17.0
Fixed
6.1.178
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.6.145
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.12.97
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.40
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.1.5

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-74381.json"