CVE record · CVE-2022-50497

binfmt_misc: fix shift-out-of-bounds in check_special_flags

No CVSS scoreEPSS 0.0017 · 6th percentile

Published by the CVE Program (CNA: Linux) at 4 Oct 2025, 15:43 UTC. agentprime has not analysed this yet, so whether it affects any app is not known. This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it.

Affected products, as the CNA wrote them
VendorProductVersions
Linux Linux
  • affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 0f1a48994b3e516d5c7fd5d12204fdba7a604771 git
  • affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before ea6145370be8016755c43aca799815fc4b8c88b1 git
  • affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 97382a2639b1cd9631f6069061e9d7062cd2b098 git
  • affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 419b808504c26b3e3342365f34ccd0843e09a7f8 git
  • affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before dcbc51d31d0afbd45e830e3cf565a7b3ca7bf0d8 git
  • affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 88cea1676a09f7c45a1438153a126610c33b1590 git
  • affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before a651bb5ff997b9f02662bcdef3d8b4e6f0d79656 git
  • affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before a91123d4bda463469f68f0427adabf8108001f94 git
  • affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 6a46bf558803dd2b959ca7435a5c143efe837217 git
Other versions: unaffected
Linux Linux
  • affected 2.6.12
  • unaffected before 2.6.12 semver
  • unaffected 4.9.337 to 4.9.*, inclusive semver
  • unaffected 4.14.303 to 4.14.*, inclusive semver
  • unaffected 4.19.270 to 4.19.*, inclusive semver
  • unaffected 5.4.229 to 5.4.*, inclusive semver
  • unaffected 5.10.163 to 5.10.*, inclusive semver
  • unaffected 5.15.86 to 5.15.*, inclusive semver
  • unaffected 6.0.16 to 6.0.*, inclusive semver
  • unaffected 6.1.2 to 6.1.*, inclusive semver
  • unaffected 6.2 to *, inclusive original_commit_for_fix
Other versions: affected
Identifiers
CVE-2022-50497
CNA
Linux
Published
4 Oct 2025
Updated
5 Nov 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

This Linux kernel advisory covers a shift-out-of-bounds bug in the binfmt_misc driver's check_special_flags function, which UBSAN reported when a left shift of 1 by 31 places was performed on a type 'int'. The source gives few details about the impact or required access. The fix changes the flag macros to use the same unsigned long type as the Node flags field. No fixed version is listed in the source, but the kernel version ranges given include stable backports, so the reader should check their kernel release against the listed fixed commits.

Written 16 Nov 2026.

Not analysed yet

We haven’t published our own analysis of this CVE. If a person reviews it, this page will say what’s affected and what has to be true for it to matter.

Severity and exploitation

No source has published a CVSS score for this record yet.

  • CISA KEV Not listed.
  • EPSS 0.0017, the 6th percentile, on 20 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 4 Oct 2025, 15:43 UTC Confirmed by the CVE List
  2. 4 Oct 2025, 16:15 UTC Confirmed by NVD

Sources

References from the CNA

Facts on this page come from the CVE List as the CNA published them, with CVSS from the sources named above, CISA KEV and FIRST EPSS. Vendors, products and versions are shown as the CNA wrote them. We don’t reproduce the CVE’s description.