In the Linux kernel, the following vulnerability has been resolved:
drm/i915: Fix a memory leak with reused mmap_offset
drmvmanodeallow() and drmvmanoderevoke() should be called in balanced pairs. We call drmvmanodeallow() once per-file everytime a user calls mmapoffset, but only call drmvmanoderevoke once per-file on each mmapoffset. As the mmapoffset is reused by the client, the per-file vmcount may remain non-zero and the rbtree leaked.
Call drmvmanodeallowonce() instead to prevent that memory leak.
{
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/53xxx/CVE-2023-53002.json"
}"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-53002.json"
[
{
"id": "CVE-2023-53002-86f4aec6",
"target": {
"file": "drivers/gpu/drm/i915/gem/i915_gem_mman.c"
},
"signature_version": "v1",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@0220e4fe178c3390eb0291cdb34912d66972db8a",
"digest": {
"threshold": 0.9,
"line_hashes": [
"301111842374090841129726930120188675671",
"137372254411061305230934308942626613489",
"294709506112718102426541225014247308899",
"163027921525229933455630442354670568382"
]
},
"signature_type": "Line"
}
]