Skip to content
Heist/ feed
Back to feed
UnratedFix available

fs/ntfs3: Avoid UBSAN error on true_sectors_per_clst()

Type: advisorySources: OSV

In the Linux kernel, the following vulnerability has been resolved: fs/ntfs3: Avoid UBSAN error on true_sectors_per_clst() syzbot reported UBSAN error as below: [ 76.901829][ T6677] ================================================================================ [ 76.903908][ T6677] UBSAN: shift-out-of-bounds in fs/ntfs3/super.c:675:13 [ 76.905363][ T6677] shift exponent -247 is negative This patch avoid this error.

Products
Kernel
Affected versions
Not specified
Fixed versions
5.15.86, 6.0.16, 6.1.2
CVEs
CVE-2022-50762
Confirmed fixed CVEs
Not specified
Updated in this feed
28 Oct 2026, 08:56 UTC · Revision 1

Source evidence

fs/ntfs3: Avoid UBSAN error on true_sectors_per_clst()

core-osv · Original source

Published 24 Dec 2025, 13:05 UTC

In the Linux kernel, the following vulnerability has been resolved: fs/ntfs3: Avoid UBSAN error on true_sectors_per_clst() syzbot reported UBSAN error as below: [ 76.901829][ T6677] ================================================================================ [ 76.903908][ T6677] UBSAN: shift-out-of-bounds in fs/ntfs3/super.c:675:13 [ 76.905363][ T6677] shift exponent -247 is negative This patch avoid this error.

osv:CVE-2022-50762

Kernel

Fixed versions: 5.15.86, 6.0.16, 6.1.2

Complete source record
{
  "id": "8d7f10bb8fc1c9b6b01e49884834bc9dfd5361c73dcec5188e32c02b8c7e5be7",
  "url": "https://osv.dev/vulnerability/CVE-2022-50762",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "fs/ntfs3: Avoid UBSAN error on true_sectors_per_clst()",
    "summary": "In the Linux kernel, the following vulnerability has been resolved: fs/ntfs3: Avoid UBSAN error on true_sectors_per_clst() syzbot reported UBSAN error as below: [ 76.901829][ T6677] ================================================================================ [ 76.903908][ T6677] UBSAN: shift-out-of-bounds in fs/ntfs3/super.c:675:13 [ 76.905363][ T6677] shift exponent -247 is negative This patch avoid this error.",
    "evidence": "osv:CVE-2022-50762",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "5.15.86",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.0.16",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.1.2",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "unknown",
    "structured": {
      "id": "CVE-2022-50762",
      "aliases": [
        "CVE-2022-50762"
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "58cf68a1886d14ffdc5c892ce483a82156769e88"
                },
                {
                  "fixed": "4b51f27d4448c84957bce190292f75d4896d56b3"
                }
              ]
            },
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "a3b774342fa752a5290c0de36375289dfcf4a260"
                },
                {
                  "fixed": "8fe280ae85177c2323ae8c9849ff27a3a6b69506"
                },
                {
                  "fixed": "95afb464c86c6e9e95ea9e595282fa6f693072e8"
                },
                {
                  "fixed": "caad9dd8792a2622737b7273cb34835fd9536cd2"
                }
              ]
            },
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "5.15.45"
                },
                {
                  "fixed": "5.15.86"
                }
              ]
            },
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "5.17.13"
                },
                {
                  "fixed": "5.18"
                }
              ]
            },
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "5.18.2"
                },
                {
                  "fixed": "5.19"
                }
              ]
            },
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "4746c49b11b2403f5b5b07c6eac9e60663dcd9a3"
                }
              ]
            },
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "a2b6986316a2d106f6951e76db70fa4b2fde64a9"
                }
              ]
            }
          ],
          "versions": [
            "v5.15.85",
            "v5.15.84",
            "v5.15.83",
            "v5.15.82",
            "v5.15.81",
            "v5.15.80",
            "v5.15.79",
            "v5.15.78",
            "v5.15.77",
            "v5.15.76",
            "v5.15.75",
            "v5.15.74",
            "v5.15.73",
            "v5.15.72",
            "v5.15.71",
            "v5.15.70",
            "v5.15.69",
            "v5.15.68",
            "v5.15.67",
            "v5.15.66",
            "v5.15.65",
            "v5.15.64",
            "v5.15.63",
            "v5.15.62",
            "v5.15.61",
            "v5.15.60",
            "v5.15.59",
            "v5.15.58",
            "v5.15.57",
            "v5.15.56",
            "v5.15.55",
            "v5.15.54",
            "v5.15.53",
            "v5.15.52",
            "v5.15.51",
            "v5.15.50",
            "v5.15.49",
            "v5.15.48",
            "v5.15.47",
            "v5.15.46",
            "v5.15.45",
            "v5.17.15",
            "v5.17.14",
            "v5.17.13",
            "v5.18.19",
            "v5.18.18",
            "v5.18.17",
            "v5.18.16",
            "v5.18.15",
            "v5.18.14",
            "v5.18.13",
            "v5.18.12",
            "v5.18.11",
            "v5.18.10",
            "v5.18.9",
            "v5.18.8",
            "v5.18.7",
            "v5.18.6",
            "v5.18.5",
            "v5.18.4",
            "v5.18.3",
            "v5.18.2"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-50762.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "5.15.86"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.16.0"
                },
                {
                  "fixed": "6.0.16"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.19.0"
                },
                {
                  "fixed": "6.1.2"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-50762.json"
          }
        }
      ],
      "modified": "2026-10-08T02:47:50.569727741Z",
      "provider": "osv",
      "references": [
        "https://git.kernel.org/stable/c/4b51f27d4448c84957bce190292f75d4896d56b3",
        "https://git.kernel.org/stable/c/8fe280ae85177c2323ae8c9849ff27a3a6b69506",
        "https://git.kernel.org/stable/c/95afb464c86c6e9e95ea9e595282fa6f693072e8",
        "https://git.kernel.org/stable/c/caad9dd8792a2622737b7273cb34835fd9536cd2",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50762.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2022-50762",
        "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
      ],
      "provider_metadata": {
        "cna_assigner": "Linux",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50762.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2022-50762",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": null
  },
  "source_id": "core-osv",
  "document_id": 98237,
  "published_at": "2025-12-24T13:05:54.02+00:00"
}