Skip to content
Heist/ feed
Back to feed
UnratedFix available

xfrm: Zero padding when dumping algos and encap

Type: advisorySources: OSV

In the Linux kernel, the following vulnerability has been resolved: xfrm: Zero padding when dumping algos and encap When copying data to user-space we should ensure that only valid data is copied over. Padding in structures may be filled with random (possibly sensitve) data and should never be given directly to user-space. This patch fixes the copying of xfrm algorithms and the encap template in xfrm_user so that padding is zeroed.

Products
Kernel
Affected versions
Not specified
Fixed versions
5.15.106, 6.1.23, 6.2.10
CVEs
CVE-2023-53684
Confirmed fixed CVEs
Not specified
Updated in this feed
3 Nov 2026, 15:44 UTC · Revision 1

Source evidence

xfrm: Zero padding when dumping algos and encap

core-osv · Original source

Published 7 Oct 2025, 15:21 UTC

In the Linux kernel, the following vulnerability has been resolved: xfrm: Zero padding when dumping algos and encap When copying data to user-space we should ensure that only valid data is copied over. Padding in structures may be filled with random (possibly sensitve) data and should never be given directly to user-space. This patch fixes the copying of xfrm algorithms and the encap template in xfrm_user so that padding is zeroed.

osv:CVE-2023-53684

Kernel

Fixed versions: 5.15.106, 6.1.23, 6.2.10

Complete source record
{
  "id": "074b21a8d6aa1ab12373dac4ce8fb2344cc17a9c702948a19e54feac35aca6dc",
  "url": "https://osv.dev/vulnerability/CVE-2023-53684",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "xfrm: Zero padding when dumping algos and encap",
    "summary": "In the Linux kernel, the following vulnerability has been resolved: xfrm: Zero padding when dumping algos and encap When copying data to user-space we should ensure that only valid data is copied over. Padding in structures may be filled with random (possibly sensitve) data and should never be given directly to user-space. This patch fixes the copying of xfrm algorithms and the encap template in xfrm_user so that padding is zeroed.",
    "evidence": "osv:CVE-2023-53684",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "5.15.106",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.1.23",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.2.10",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "unknown",
    "structured": {
      "id": "CVE-2023-53684",
      "aliases": [
        "CVE-2023-53684"
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "c7a5899eb26e2a4d516d53f65b6dd67be2228041"
                },
                {
                  "fixed": "0725daaa9a879388ed312110f62dbd5ea2d75f8f"
                },
                {
                  "fixed": "5218af4ad5d8948faac19f71583bcd786c3852df"
                },
                {
                  "fixed": "1a351e26cc010d6991fbbd5701ac16581372e26f"
                },
                {
                  "fixed": "8222d5910dae08213b6d9d4bc9a7f8502855e624"
                }
              ]
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-53684.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.11.0"
                },
                {
                  "fixed": "5.15.106"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.16.0"
                },
                {
                  "fixed": "6.1.23"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.2.0"
                },
                {
                  "fixed": "6.2.10"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-53684.json"
          }
        }
      ],
      "modified": "2026-10-30T02:30:32.605111985Z",
      "provider": "osv",
      "references": [
        "https://git.kernel.org/stable/c/0725daaa9a879388ed312110f62dbd5ea2d75f8f",
        "https://git.kernel.org/stable/c/1a351e26cc010d6991fbbd5701ac16581372e26f",
        "https://git.kernel.org/stable/c/5218af4ad5d8948faac19f71583bcd786c3852df",
        "https://git.kernel.org/stable/c/8222d5910dae08213b6d9d4bc9a7f8502855e624",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/53xxx/CVE-2023-53684.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2023-53684",
        "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/2023/53xxx/CVE-2023-53684.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2023-53684",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": null
  },
  "source_id": "core-osv",
  "document_id": 496950,
  "published_at": "2025-10-07T15:21:37.413+00:00"
}