Read the docs
TI-2024-37647 Aliases CVE-2024-56766GHSA-5r7w-j22r-58j4

mtd: rawnand: fix double free in atmel_pmecc_create_user()

Priority LOW 33CWE-415Published · Updated

Key facts

Attack vector
Local
Privileges required
Low
User interaction
None
Attack complexity
Low
Impact type
Code execution
Confidentiality · integrity · availability
High · High · High
Fix status
Fixed

Attack profile from CVSS 3.1 · NVD. Fix status from CNA. Impact type from CWE-415 and the CVSS impact.

Summary

In the Linux kernel, the following vulnerability has been resolved: mtd: rawnand: fix double free in atmel_pmecc_create_user() The "user" pointer was converted from being allocated with kzalloc() to being allocated by devm_kzalloc(). Calling kfree(user) will lead to a double free.

Why it matters now

EPSS 0.00222 12th percentileScored 2026-11-07
Fix Fixed Linux (Linux): 4.20, 6.12, 5.4.289 +5

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
LinuxLinux4.19.325 to before 4.20; 6.11.11 to before 6.124.20, 6.12Patch availableCNA
LinuxLinux5.4.287 to before 5.4.289; 5.10.231 to before 5.10.233; 5.15.174 to before 5.15.176; 6.1.120 to before 6.1.123; 6.6.64 to before 6.6.69; 6.12.2 to before 6.12.85.4.289, 5.10.233, 5.15.176, 6.1.123, 6.6.69, 6.12.8Patch availableCNA
  • Linux VendorLinux Affected 4.19.325 to before 4.20; 6.11.11 to before 6.12 Fixed in 4.20, 6.12 Patch available CNA
  • Linux VendorLinux Affected 5.4.287 to before 5.4.289; 5.10.231 to before 5.10.233; 5.15.174 to before 5.15.176; 6.1.120 to before 6.1.123; 6.6.64 to before 6.6.69; 6.12.2 to before 6.12.8 Fixed in 5.4.289, 5.10.233, 5.15.176, 6.1.123, 6.6.69, 6.12.8 Patch available CNA

CPE configurations NVD · 5

CPEVersionsRoleVendor
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*4.19.325 to before 4.20; 5.4.287 to before 5.5; 5.10.231 to before 5.11; 5.15.174 to before 5.16; 6.1.120 to before 6.1.123; 6.6.64 to before 6.6.69; 6.11.11 to before 6.12; 6.12.2 to before 6.12.8VulnerableLinux
cpe:2.3:o:linux:linux_kernel:6.13:rc1:*:*:*:*:*:*6.13 rc1VulnerableLinux
cpe:2.3:o:linux:linux_kernel:6.13:rc2:*:*:*:*:*:*6.13 rc2VulnerableLinux
cpe:2.3:o:linux:linux_kernel:6.13:rc3:*:*:*:*:*:*6.13 rc3VulnerableLinux
cpe:2.3:o:linux:linux_kernel:6.13:rc4:*:*:*:*:*:*6.13 rc4VulnerableLinux
  • cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* Versions 4.19.325 to before 4.20; 5.4.287 to before 5.5; 5.10.231 to before 5.11; 5.15.174 to before 5.16; 6.1.120 to before 6.1.123; 6.6.64 to before 6.6.69; 6.11.11 to before 6.12; 6.12.2 to before 6.12.8 Vulnerable ·Linux
  • cpe:2.3:o:linux:linux_kernel:6.13:rc1:*:*:*:*:*:* Versions 6.13 rc1 Vulnerable ·Linux
  • cpe:2.3:o:linux:linux_kernel:6.13:rc2:*:*:*:*:*:* Versions 6.13 rc2 Vulnerable ·Linux
  • cpe:2.3:o:linux:linux_kernel:6.13:rc3:*:*:*:*:*:* Versions 6.13 rc3 Vulnerable ·Linux
  • cpe:2.3:o:linux:linux_kernel:6.13:rc4:*:*:*:*:*:* Versions 6.13 rc4 Vulnerable ·Linux

Remediation

  • Fix · CNA Linux (Linux) Fixed in 4.20, 6.12
  • Fix · CNA Linux (Linux) Fixed in 5.4.289, 5.10.233, 5.15.176, 6.1.123, 6.6.69, 6.12.8

Vendor assessments

Red Hat

Red Hat rating: Important. Red Hat's page for this CVE →

Not affected: 4 products
  • Red Hat Enterprise Linux 6
  • Red Hat Enterprise Linux 7
  • Red Hat Enterprise Linux 8
  • Red Hat Enterprise Linux 9

Timeline

  1. 2026-10-02 Threatist record created from CVE-2024-56766
  2. 2026-10-03 Alias added: GHSA-5r7w-j22r-58j4

References

  • TI-2025-26358 tls: fix handling of zero-length records on the rx_list KEVCVSS 3.1CRITICAL 9.8
  • TI-2026-38352 netfilter: bridge: make ebt_snat ARP rewrite writable KEVCVSS 3.1HIGH 8.8
  • TI-2013-05264 The (1) get_user and (2) put_user API functions in the Linux kernel before 3.5.5 on the… KEVCVSS 3.1HIGH 8.8
  • TI-2022-00125 Integer overflow in kernel KEVCVSS 3.1HIGH 8.4
  • TI-2013-01864 The perf_swevent_init function in kernel/events/core.c in the Linux kernel before 3.8.9… KEVCVSS 3.1HIGH 8.4
  • TI-2021-05514 Heap Out-Of-Bounds Write in Netfilter IP6T_SO_SET_REPLACE KEVCVSS 3.1HIGH 8.3
See all 15278 →

Sources