{
  "threat_severity" : "Moderate",
  "public_date" : "2026-11-19T14:23:37Z",
  "bugzilla" : {
    "description" : "kernel: kernel: xfs: out-of-bounds write via crafted attribute length",
    "id" : "2576663",
    "url" : "https://bugzilla.redhat.com/show_bug.cgi?id=2576663"
  },
  "cvss3" : {
    "cvss3_base_score" : "6.7",
    "cvss3_scoring_vector" : "CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H",
    "status" : "draft"
  },
  "cwe" : "CWE-787",
  "details" : [ "In the Linux kernel, the following vulnerability has been resolved:\nxfs: reject out-of-range attribute value lengths in xfs_attr_copy_value\nxfs_attr_copy_value() takes the value length as a signed int and, for a\nremote xattr, is handed args->rmtvaluelen.  That field is filled from the\non-disk __be32 xfs_attr_leaf_name_remote.valuelen in\nxfs_attr3_leaf_getvalue(), so a crafted length such as 0x80000000 is\nstored into the signed rmtvaluelen as a negative number.\nThe \"buffer too small\" guard in xfs_attr_copy_value() is a signed\ncomparison:\nif (args->valuelen < valuelen)\nreturn -ERANGE;\nA negative valuelen therefore compares as smaller than the caller's\nbuffer size, skips the -ERANGE path, and is then used as a copy length,\nleading to an out-of-bounds copy of a full remote block into a small\ngetxattr(2) buffer on a mounted crafted image.\nReject a value length that is negative or larger than the maximum xattr\nsize before it is used, so a bogus on-disk length can no longer slip\nthrough the value copier.", "A flaw was found in the Linux kernel's XFS file system. A local attacker can cause memory corruption or a Denial of Service (DoS) by mounting or accessing a specially crafted file system image. This vulnerability occurs because attribute length checks fail to reject negative values, resulting in an out-of-bounds memory copy when retrieving extended file attributes." ],
  "statement" : "Moderate severity is assigned to this vulnerability because exploitation requires local elevated privileges to mount a corrupted filesystem image or physical access to attach malicious storage media. In default Red Hat Enterprise Linux environments, unprivileged users lack the capability to mount arbitrary storage devices, significantly reducing practical exposure. Consequently, while triggering this flaw can result in system instability or memory corruption, the necessity for administrative privileges prevents unauthorized remote compromise.",
  "package_state" : [ {
    "product_name" : "Red Hat Enterprise Linux 10",
    "fix_state" : "Fix deferred",
    "package_name" : "kernel",
    "cpe" : "cpe:/o:redhat:enterprise_linux:10"
  }, {
    "product_name" : "Red Hat Enterprise Linux 6",
    "fix_state" : "Not affected",
    "package_name" : "kernel",
    "cpe" : "cpe:/o:redhat:rhel_els:6"
  }, {
    "product_name" : "Red Hat Enterprise Linux 7",
    "fix_state" : "Not affected",
    "package_name" : "kernel",
    "cpe" : "cpe:/o:redhat:rhel_els:7"
  }, {
    "product_name" : "Red Hat Enterprise Linux 7",
    "fix_state" : "Not affected",
    "package_name" : "kernel-rt",
    "cpe" : "cpe:/o:redhat:rhel_els:7"
  }, {
    "product_name" : "Red Hat Enterprise Linux 8",
    "fix_state" : "Fix deferred",
    "package_name" : "kernel",
    "cpe" : "cpe:/o:redhat:enterprise_linux:8"
  }, {
    "product_name" : "Red Hat Enterprise Linux 8",
    "fix_state" : "Fix deferred",
    "package_name" : "kernel-rt",
    "cpe" : "cpe:/o:redhat:enterprise_linux:8"
  }, {
    "product_name" : "Red Hat Enterprise Linux 9",
    "fix_state" : "Fix deferred",
    "package_name" : "kernel",
    "cpe" : "cpe:/o:redhat:enterprise_linux:9"
  }, {
    "product_name" : "Red Hat Enterprise Linux 9",
    "fix_state" : "Fix deferred",
    "package_name" : "kernel-rt",
    "cpe" : "cpe:/o:redhat:enterprise_linux:9"
  }, {
    "product_name" : "Red Hat OpenShift Container Platform 4",
    "fix_state" : "Fix deferred",
    "package_name" : "openshift/ose-rhel-coreos-8",
    "cpe" : "cpe:/a:redhat:openshift:4"
  }, {
    "product_name" : "Red Hat OpenShift Container Platform 4",
    "fix_state" : "Fix deferred",
    "package_name" : "openshift/ose-rhel-coreos-9",
    "cpe" : "cpe:/a:redhat:openshift:4"
  }, {
    "product_name" : "Red Hat OpenShift Container Platform 5",
    "fix_state" : "Fix deferred",
    "package_name" : "openshift/ose-rhel-coreos-10",
    "cpe" : "cpe:/a:redhat:openshift:5"
  }, {
    "product_name" : "Red Hat OpenShift Container Platform 5",
    "fix_state" : "Fix deferred",
    "package_name" : "openshift/ose-rhel-coreos-9",
    "cpe" : "cpe:/a:redhat:openshift:5"
  } ],
  "references" : [ "https://www.cve.org/CVERecord?id=CVE-2026-99400\nhttps://nvd.nist.gov/vuln/detail/CVE-2026-99400\nhttps://git.kernel.org/stable/c/0643549ffecaeb716c0b75590a9b76dfa5eb35b3\nhttps://git.kernel.org/stable/c/91d0cf6244280e67bdc2787a60a10f635ac064c0\nhttps://git.kernel.org/stable/c/c2cd6b3b480ef2ae9752ed924a2199c8c90569a1\nhttps://git.kernel.org/stable/c/c5c34a0a5a80ecd8fea9fff960907b2924d18cd9" ],
  "name" : "CVE-2026-99400",
  "csaw" : false
}