FKIE_CVE-2026-139054

Vulnerability from fkie_nvd - Published: 2026-11-30 14:18 - Updated: 2026-12-01 06:17
Summary
In the Linux kernel, the following vulnerability has been resolved: PCI: rcar-gen4: Limit Max_Read_Request_Size to 256 Bytes R-Car Gen4 PCIe controller has a hardware limitation of 256 Bytes Max_Payload_Size (MPS). PCIe specification indicates that the MPS must not exceed minimum MPS of any element along the packet path. The PCI core already enforces this, but add a check to warn if MPS is ever set larger than 256. R-Car Gen4 Reference Manual, chapter 104.4.8 Usage notes for MRRS (Max Read Request Size) states: Please set "Max Read Request Size" to 128 bytes or 256 bytes. If "Max Read Request Size" is set to anything other than the above, the transferred data will not match the expected value. This limitation also seems to apply to devices doing DMA reads, i.e., issuing MRd TLPs. This limitation can be triggered by using non-HMB NVMe SSD with Max_Read_Request_Size 512 Bytes, for example Crucial P5 Plus. Any write to the SSD (MRd TLP issued by the SSD controller) longer than 256 Bytes wraps around at the 256 Byte boundary, and the same data are written to the SSD starting at offset 0 and at 256 Bytes. Limit Max_Read_Request_Size to at most 256 Bytes for each device connected to this PCIe controller to avoid this behavior. A non-HMB (Host Memory Buffer) NVMe SSD can be identified using the following command. Affected SSD reports 'hmpre' field as 0: $ nvme id-ctrl /dev/nvme0 | grep hmpre hmpre : 0 The symptom is a read from the SSD which wraps around at 256 Byte boundary. The test for this symptom can be implemented by writing 512 Byte of random data into the SSD and reading the data back. If the read back data repeat after 256 Bytes, the device is affected. $ dd if=/dev/urandom of=/tmp/data.bin bs=256 count=2 ; \ dd if=/tmp/data.bin of=/dev/nvme0n1 bs=256 count=2 ; \ dd if=/dev/nvme0n1 bs=256 count=2 of=/tmp/readback.bin Expected data: $ hexdump -vC /tmp/data.bin 00000000 97 81 b7 3b 0e 38 2b 4d a7 d3 e0 47 ff c2 4b ca 00000010 c1 85 98 f0 4a ac 03 a0 3b ab f3 19 44 dd 06 8b ... 00000100 7a ce 3c b2 e1 d5 d9 11 88 63 10 59 76 3c dc 32 <-- random 00000110 72 32 2a 7d a3 e1 aa 13 7c da 58 a1 7b 21 11 50 <-- data Faulty readback, collected without this change in place: $ hexdump -vC /tmp/readback.bin 00000000 97 81 b7 3b 0e 38 2b 4d a7 d3 e0 47 ff c2 4b ca <---. 00000010 c1 85 98 f0 4a ac 03 a0 3b ab f3 19 44 dd 06 8b <-. | ... | | 00000100 97 81 b7 3b 0e 38 2b 4d a7 d3 e0 47 ff c2 4b ca <-:-+- repeated 00000110 c1 85 98 f0 4a ac 03 a0 3b ab f3 19 44 dd 06 8b <-+--- data ^^^ | '--- Repeat starts at offset 0x100 = 256 Bytes
Impacted products
Vendor Product Version

{
  "affected": [
    {
      "affectedData": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/pci/controller/dwc/pcie-rcar-gen4.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "e280a383490e7ef1539c32760bd3fcb507d1f540",
              "status": "affected",
              "version": "0d0c551011df4519c232f7114cdace9000e86c51",
              "versionType": "git"
            },
            {
              "lessThan": "48ab9100bc0a29d367c2e2bd7c64dc2cf16c9ebc",
              "status": "affected",
              "version": "0d0c551011df4519c232f7114cdace9000e86c51",
              "versionType": "git"
            },
            {
              "lessThan": "f44903fd54634e5b81bda4b90b6b583cd75d7157",
              "status": "affected",
              "version": "0d0c551011df4519c232f7114cdace9000e86c51",
              "versionType": "git"
            },
            {
              "lessThan": "f0a5c6bd797c2b9900034983a1118d27eb2f2f16",
              "status": "affected",
              "version": "0d0c551011df4519c232f7114cdace9000e86c51",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/pci/controller/dwc/pcie-rcar-gen4.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "6.7"
            },
            {
              "lessThan": "6.7",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.118",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.64",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.3.*",
              "status": "unaffected",
              "version": "7.3.4",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.4-rc1",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    }
  ],
  "cveTags": [],
  "descriptions": [
    {
      "lang": "en",
      "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nPCI: rcar-gen4: Limit Max_Read_Request_Size to 256 Bytes\n\nR-Car Gen4 PCIe controller has a hardware limitation of 256 Bytes\nMax_Payload_Size (MPS). PCIe specification indicates that the MPS must not\nexceed minimum MPS of any element along the packet path.  The PCI core\nalready enforces this, but add a check to warn if MPS is ever set larger\nthan 256.\n\nR-Car Gen4 Reference Manual, chapter 104.4.8 Usage notes for MRRS (Max Read\nRequest Size) states:\n\n  Please set \"Max Read Request Size\" to 128 bytes or 256 bytes.\n  If \"Max Read Request Size\" is set to anything other than the\n  above, the transferred data will not match the expected value.\n\nThis limitation also seems to apply to devices doing DMA reads, i.e.,\nissuing MRd TLPs.  This limitation can be triggered by using non-HMB NVMe\nSSD with Max_Read_Request_Size 512 Bytes, for example Crucial P5 Plus.  Any\nwrite to the SSD (MRd TLP issued by the SSD controller) longer than 256\nBytes wraps around at the 256 Byte boundary, and the same data are written\nto the SSD starting at offset 0 and at 256 Bytes.\n\nLimit Max_Read_Request_Size to at most 256 Bytes for each device connected\nto this PCIe controller to avoid this behavior.\n\nA non-HMB (Host Memory Buffer) NVMe SSD can be identified using the\nfollowing command. Affected SSD reports \u0027hmpre\u0027 field as 0:\n\n  $ nvme id-ctrl /dev/nvme0 | grep hmpre\n  hmpre     : 0\n\nThe symptom is a read from the SSD which wraps around at 256 Byte boundary.\nThe test for this symptom can be implemented by writing 512 Byte of random\ndata into the SSD and reading the data back. If the read back data repeat\nafter 256 Bytes, the device is affected.\n\n  $ dd if=/dev/urandom of=/tmp/data.bin bs=256 count=2 ; \\\n    dd if=/tmp/data.bin of=/dev/nvme0n1 bs=256 count=2 ; \\\n    dd if=/dev/nvme0n1 bs=256 count=2 of=/tmp/readback.bin\n\nExpected data:\n  $ hexdump -vC /tmp/data.bin\n  00000000  97 81 b7 3b 0e 38 2b 4d  a7 d3 e0 47 ff c2 4b ca\n  00000010  c1 85 98 f0 4a ac 03 a0  3b ab f3 19 44 dd 06 8b\n  ...\n  00000100  7a ce 3c b2 e1 d5 d9 11  88 63 10 59 76 3c dc 32 \u003c-- random\n  00000110  72 32 2a 7d a3 e1 aa 13  7c da 58 a1 7b 21 11 50 \u003c-- data\n\nFaulty readback, collected without this change in place:\n  $ hexdump -vC /tmp/readback.bin\n  00000000  97 81 b7 3b 0e 38 2b 4d  a7 d3 e0 47 ff c2 4b ca \u003c---.\n  00000010  c1 85 98 f0 4a ac 03 a0  3b ab f3 19 44 dd 06 8b \u003c-. |\n  ...                                                          | |\n  00000100  97 81 b7 3b 0e 38 2b 4d  a7 d3 e0 47 ff c2 4b ca \u003c-:-+- repeated\n  00000110  c1 85 98 f0 4a ac 03 a0  3b ab f3 19 44 dd 06 8b \u003c-+--- data\n       ^^^\n        |\n        \u0027--- Repeat starts at offset 0x100 = 256 Bytes"
    }
  ],
  "id": "CVE-2026-139054",
  "lastModified": "2026-12-01T06:17:32.963",
  "metrics": {
    "cvssMetricV31": [
      {
        "cvssData": {
          "attackComplexity": "LOW",
          "attackVector": "LOCAL",
          "availabilityImpact": "HIGH",
          "baseScore": 7.1,
          "baseSeverity": "HIGH",
          "confidentialityImpact": "NONE",
          "integrityImpact": "HIGH",
          "privilegesRequired": "LOW",
          "scope": "UNCHANGED",
          "userInteraction": "NONE",
          "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H",
          "version": "3.1"
        },
        "exploitabilityScore": 1.8,
        "impactScore": 5.2,
        "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "type": "Secondary"
      }
    ]
  },
  "published": "2026-11-30T14:18:11.273",
  "references": [
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "url": "https://git.kernel.org/stable/c/48ab9100bc0a29d367c2e2bd7c64dc2cf16c9ebc"
    },
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "url": "https://git.kernel.org/stable/c/e280a383490e7ef1539c32760bd3fcb507d1f540"
    },
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "url": "https://git.kernel.org/stable/c/f0a5c6bd797c2b9900034983a1118d27eb2f2f16"
    },
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "url": "https://git.kernel.org/stable/c/f44903fd54634e5b81bda4b90b6b583cd75d7157"
    }
  ],
  "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
  "vulnStatus": "Received"
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Drag nodes to arrange them. Double-click a related vulnerability to open it, or a source to visit its link. The Physics button on the left tunes the layout and the simulation; the legend at the bottom left hides or shows nodes by kind and by sighting type.

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Vulnerability timeline

Sightings and recorded dates, grouped by day · UTC

JSON
How durations are calculated

Following the VTEM framework (Black Hat USA 2015), time to patch starts when the vendor or a coordinator was informed, total time to patch at discovery, and disclosure to patch at public disclosure; vendor response time runs from the report to its acknowledgement. Time to exploit and time unpatched start at the earliest discovery or report, falling back to public disclosure. Unpatched time ends at the first recorded patch, or the calculation time when no patch is recorded. Exploitation to patch shows the interval between those two events; a published proof of concept is a public exploit, not exploitation. The method is described in a publication.

Each result shows its source dates. A negative interval means the end event came first; when date-only inputs leave the order open, the result says so. Date-only inputs are approximate. The earliest evidence wins: KEV report dates and sightings are labelled as such. Records describing another vulnerability are listed but never calculated from, and a PoC alone does not establish exploitation. Missing patch evidence does not prove that no patch exists. Filters below change the event list only.

Events included in the timeline

Loading timeline…


    Loading…

    Loading…

    Loading…

    Related by attack behaviour

    Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.