CVE-2024-56746

fbdev: sh7760fb: Fix a possible memory leak in sh7760fb_alloc_mem()

MEDIUM
5.5
CVSS Score
Published: December 29, 2024 at 11:30 AM UTC
Updated: June 17, 2026 at 08:12 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.2%
SSVC
No known exploit

Description

In the Linux kernel, the following vulnerability has been resolved: fbdev: sh7760fb: Fix a possible memory leak in sh7760fb_alloc_mem() When information such as info->screen_base is not ready, calling sh7760fb_free_mem() does not release memory correctly. Call dma_free_coherent() instead.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

2.6.27 ≤ v < 4.19.3252.6.27 ≤ v < 5.10.2312.6.27 ≤ v < 5.15.1742.6.27 ≤ v < 5.4.2872.6.27 ≤ v < 6.1.1202.6.27 ≤ v < 6.11.112.6.27 ≤ v < 6.12.22.6.27 ≤ v < 6.132.6.27 ≤ v < 6.6.644.20 ≤ v < 5.4.2875.11 ≤ v < 5.15.1745.16 ≤ v < 6.1.1205.5 ≤ v < 5.10.2316.12 ≤ v < 6.12.26.2 ≤ v < 6.6.646.7 ≤ v < 6.11.112.6.274a25e41831ee851c1365d8b41decc22493b18e6d
Vendor states this is fixed in 0d3fb3b3e9d66f7b6346e3b90bc0ff48683539ce (fixed)
Vendor states this is fixed in 29216bb390e36daeebef66abaa02d9751330252b (fixed)
Vendor states this is fixed in 3dd9df8e5f34c6fc4217a7498c1fb3c352d4afc2 (fixed)
Vendor states this is fixed in 40f4326ed05a3b3537556ff2a844958b9e779a98 (fixed)
Vendor states this is fixed in bad37309c8b8bf1cfc893750df0951a804009ca0 (fixed)
Vendor states this is fixed in d10cd53e5a7fb3b7c6f83d4d9a5ea1d97a3ed9a5 (fixed)
Vendor states this is fixed in d48cbfa90dce506030151915fa3346d67f964af4 (fixed)
Vendor states this is fixed in f4fbd70e15fafe36a7583954ce189aaf5536aeec (fixed)
Vendor states this is fixed in f89d17ae2ac42931be2a0153fecbf8533280c927 (fixed)
Vendor states this is fixed in 2.6.27 (unaffected)
Vendor states this is fixed in 4.19.325 (unaffected)
Vendor states this is fixed in 5.10.231 (unaffected)
Vendor states this is fixed in 5.15.174 (unaffected)
Vendor states this is fixed in 5.4.287 (unaffected)
Vendor states this is fixed in 6.1.120 (unaffected)
Vendor states this is fixed in 6.11.11 (unaffected)
Vendor states this is fixed in 6.12.2 (unaffected)
Vendor states this is fixed in 6.13 (unaffected)
Vendor states this is fixed in 6.6.64 (unaffected)

References (10)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/0d3fb3b3e9d66f7b6346e3b90bc0ff48683539ce
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/29216bb390e36daeebef66abaa02d9751330252b
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/3dd9df8e5f34c6fc4217a7498c1fb3c352d4afc2
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/40f4326ed05a3b3537556ff2a844958b9e779a98
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/bad37309c8b8bf1cfc893750df0951a804009ca0
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/d10cd53e5a7fb3b7c6f83d4d9a5ea1d97a3ed9a5
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/d48cbfa90dce506030151915fa3346d67f964af4
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/f4fbd70e15fafe36a7583954ce189aaf5536aeec

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-401

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card