{
  "cveId": "CVE-2022-49546",
  "url": "https://patchblox.com/security/cve/CVE-2022-49546",
  "summary": "CVE-2022-49546 is fixed in linux on 1 platform, first by DEBIAN-CVE-2022-49546, released February 26, 2025. It is not reported as exploited. Patch Radar priority: Routine.",
  "title": "linux: In the Linux kernel, the following vulnerability has been resolved:  x86/kexec: fix memory leak of elf header buffer...",
  "description": "In the Linux kernel, the following vulnerability has been resolved:  x86/kexec: fix memory leak of elf header buffer  This is reported by kmemleak detector:  unreferenced object 0xffffc900002a9000 (size 4096):   comm \u0022kexec\u0022, pid 14950, jiffies 4295110793 (age 373.951s)   hex dump (first 32 bytes):     7f 45 4c 46 02 01 01 00 00 00 00 00 00 00 00 00  .ELF............     04 00 3e 00 01 00 00 00 00 00 00 00 00 00 00 00  ..\u003E.............   backtrace:     [\u003C0000000016a8ef9f\u003E] __vmalloc_node_range\u002B0x101/0x170     [\u003C000000002b66b6c0\u003E] __vmalloc_node\u002B0xb4/0x160     [\u003C00000000ad40107d\u003E] crash_prepare_elf64_headers\u002B0x8e/0xcd0     [\u003C0000000019afff23\u003E] crash_load_segments\u002B0x260/0x470     [\u003C0000000019ebe95c\u003E] bzImage64_load\u002B0x814/0xad0     [\u003C0000000093e16b05\u003E] arch_kexec_kernel_image_load\u002B0x1be/0x2a0     [\u003C000000009ef2fc88\u003E] kimage_file_alloc_init\u002B0x2ec/0x5a0     [\u003C0000000038f5a97a\u003E] __do_sys_kexec_file_load\u002B0x28d/0x530     [\u003C0000000087c19992\u003E] do_syscall_64\u002B0x3b/0x90     [\u003C0000000066e063a4\u003E] entry_SYSCALL_64_after_hwframe\u002B0x44/0xae  In crash_prepare_elf64_headers(), a buffer is allocated via vmalloc() to store elf headers.  While it\u0027s not freed back to system correctly when kdump kernel is reloaded or unloaded.  Then memory leak is caused.  Fix it by introducing x86 specific function arch_kimage_file_post_load_cleanup(), and freeing the buffer there.  And also remove the incorrect elf header buffer freeing code.  Before calling arch specific kexec_file loading function, the image instance has been initialized.  So \u0027image-\u003Eelf_headers\u0027 must be NULL.  It doesn\u0027t make sense to free the elf header buffer in the place.  Three different people have reported three bugs about the memory leak on x86_64 inside Redhat.",
  "published": "2025-02-26T07:01:30Z",
  "severity": "medium",
  "cvss": 5.5,
  "cvssVector": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H",
  "epss": 0.00278,
  "epssPercentile": 0.20319,
  "priority": "Routine",
  "priorityTier": 4,
  "exploited": false,
  "vendorExploited": false,
  "disclosed": false,
  "fixes": [
    {
      "platform": "linux",
      "product": "linux",
      "release": "Debian 12.15 (bookworm)",
      "fixedVersion": "5.18.5-1",
      "fix": "DEBIAN-CVE-2022-49546",
      "url": "https://patchblox.com/security/fix/linux/debian-cve-2022-49546",
      "released": "2025-02-26T07:01:30Z"
    },
    {
      "platform": "linux",
      "product": "linux",
      "release": "Debian 13.5 (trixie)",
      "fixedVersion": "5.18.5-1",
      "fix": "DEBIAN-CVE-2022-49546",
      "url": "https://patchblox.com/security/fix/linux/debian-cve-2022-49546",
      "released": "2025-02-26T07:01:30Z"
    },
    {
      "platform": "linux",
      "product": "linux",
      "release": "Debian 14",
      "fixedVersion": "5.18.5-1",
      "fix": "DEBIAN-CVE-2022-49546",
      "url": "https://patchblox.com/security/fix/linux/debian-cve-2022-49546",
      "released": "2025-02-26T07:01:30Z"
    }
  ],
  "noFixYet": [],
  "dataAsOf": "2026-11-08T13:06:02Z",
  "attribution": {
    "text": "Data: Patchblox Patch Radar",
    "url": "https://patchblox.com/security/patch-radar",
    "terms": "https://patchblox.com/security/patch-radar/use-the-data"
  }
}