Skip to main content
← All vulnerabilities
CVE-2024-46741

misc: fastrpc: Fix double free of 'buf' in error path

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 5.11, 5.16
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

In the Linux kernel, the following vulnerability has been resolved: misc: fastrpc: Fix double free of 'buf' in error path smatch warning: drivers/misc/fastrpc.c:1926 fastrpc_req_mmap() error: double free of 'buf' In fastrpc_req_mmap() error path, the fastrpc buffer is freed in fastrpc_req_munmap_impl() if unmap is successful. But in the end, there is an unconditional call to fastrpc_buf_free(). So the above case triggers the double free of fastrpc buf.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • Linux Linux

    From 5.10.267 · fixed in 5.11; From 5.15.218 · fixed in 5.16

  • Linux Linux

    6.2

References 4

git.kernel.org