{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "da001fb651b00e1deeaf24767dd691ae8152a4f5"
            },
            {
              "fixed": "76269a91fd9560c5f03c3e59421a0329e39a6661"
            },
            {
              "fixed": "9039bb4f238474379221fc933c34f19f0cba501b"
            },
            {
              "fixed": "d4aa6141ff03ec82eed6fcef814300fb855ce5d8"
            },
            {
              "fixed": "e833e865e4944ba75120db534bd931db6cf677d3"
            },
            {
              "fixed": "2fa302bbc62dec7cb6339c9494e0e3f2f884afeb"
            },
            {
              "fixed": "aac63bbea8fd5a34f1a4305cb73369068f952d32"
            },
            {
              "fixed": "938ae1fb4a8f5db43b62b6206d409efbf317f0d9"
            },
            {
              "fixed": "319400fc5ee15db5793aa45f854968141326effc"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "5.3.0"
            },
            {
              "fixed": "5.10.261"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "5.11.0"
            },
            {
              "fixed": "5.15.212"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "5.16.0"
            },
            {
              "fixed": "6.1.178"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.2.0"
            },
            {
              "fixed": "6.6.145"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.7.0"
            },
            {
              "fixed": "6.12.97"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.13.0"
            },
            {
              "fixed": "6.18.40"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.19.0"
            },
            {
              "fixed": "7.1.5"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/74xxx/CVE-2026-74402.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\ncrypto: atmel-sha204a - fix blocking and non-blocking rng logic\n\nThe blocking and non-blocking paths were failing to provide valid entropy\ndue to improper buffer management. Reading the buffer starting from byte 1,\nonly fetch the 32 bytes of random data from the return message.\n\nTested on an Atmel SHA204A device.\n\nBefore (here for blocking), tests showed repeatedly reading reduced bytes.\n$ head -c 32 /dev/hwrng | hexdump -C\n00000000  02 28 85 b3 47 40 f2 ee  00 00 00 00 00 00 00 00  |.(..G@..........|\n00000010  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|\n00000020\n\nAfter, the result will be similar to the following:\n$ head -c 32 /dev/hwrng | hexdump -C\n00000000  5a fc 3f 13 14 68 fe 06  68 0a bd 04 83 6e 09 69  |Z.?..h..h....n.i|\n00000010  75 ff cf 87 10 84 3b c9  c1 df ae eb 45 53 4c c3  |u.....;.....ESL.|\n00000020",
  "id": "CVE-2026-74402",
  "modified": "2026-08-18T03:31:26.896476843Z",
  "published": "2026-08-15T05:59:12.747Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/2fa302bbc62dec7cb6339c9494e0e3f2f884afeb"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/319400fc5ee15db5793aa45f854968141326effc"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/76269a91fd9560c5f03c3e59421a0329e39a6661"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/9039bb4f238474379221fc933c34f19f0cba501b"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/938ae1fb4a8f5db43b62b6206d409efbf317f0d9"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/aac63bbea8fd5a34f1a4305cb73369068f952d32"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/d4aa6141ff03ec82eed6fcef814300fb855ce5d8"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/e833e865e4944ba75120db534bd931db6cf677d3"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/74xxx/CVE-2026-74402.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-74402"
    },
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    }
  ],
  "schema_version": "1.9.0",
  "summary": "crypto: atmel-sha204a - fix blocking and non-blocking rng logic"
}