| { |
| "containers": { |
| "cna": { |
| "providerMetadata": { |
| "orgId": "f4215fc3-5b6b-47ff-a258-f7189bd81038" |
| }, |
| "descriptions": [ |
| { |
| "lang": "en", |
| "value": "In the Linux kernel, the following vulnerability has been resolved:\n\narm64: ptrace: fix partial SETREGSET for NT_ARM_TAGGED_ADDR_CTRL\n\nCurrently tagged_addr_ctrl_set() doesn't initialize the temporary 'ctrl'\nvariable, and a SETREGSET call with a length of zero will leave this\nuninitialized. Consequently tagged_addr_ctrl_set() will consume an\narbitrary value, potentially leaking up to 64 bits of memory from the\nkernel stack. The read is limited to a specific slot on the stack, and\nthe issue does not provide a write mechanism.\n\nAs set_tagged_addr_ctrl() only accepts values where bits [63:4] zero and\nrejects other values, a partial SETREGSET attempt will randomly succeed\nor fail depending on the value of the uninitialized value, and the\nexposure is significantly limited.\n\nFix this by initializing the temporary value before copying the regset\nfrom userspace, as for other regsets (e.g. NT_PRSTATUS, NT_PRFPREG,\nNT_ARM_SYSTEM_CALL). In the case of a zero-length write, the existing\nvalue of the tagged address ctrl will be retained.\n\nThe NT_ARM_TAGGED_ADDR_CTRL regset is only visible in the\nuser_aarch64_view used by a native AArch64 task to manipulate another\nnative AArch64 task. As get_tagged_addr_ctrl() only returns an error\nvalue when called for a compat task, tagged_addr_ctrl_get() and\ntagged_addr_ctrl_set() should never observe an error value from\nget_tagged_addr_ctrl(). Add a WARN_ON_ONCE() to both to indicate that\nsuch an error would be unexpected, and error handlnig is not missing in\neither case." |
| } |
| ], |
| "affected": [ |
| { |
| "product": "Linux", |
| "vendor": "Linux", |
| "defaultStatus": "unaffected", |
| "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git", |
| "programFiles": [ |
| "arch/arm64/kernel/ptrace.c" |
| ], |
| "versions": [ |
| { |
| "version": "2200aa7154cb7ef76bac93e98326883ba64bfa2e", |
| "lessThan": "1152dd13845efde5554f80c7e1233bae1d26bd3e", |
| "status": "affected", |
| "versionType": "git" |
| }, |
| { |
| "version": "2200aa7154cb7ef76bac93e98326883ba64bfa2e", |
| "lessThan": "1c176f5155ee6161fee6f416b64aa50394d3f220", |
| "status": "affected", |
| "versionType": "git" |
| }, |
| { |
| "version": "2200aa7154cb7ef76bac93e98326883ba64bfa2e", |
| "lessThan": "1370cf3eb5495d70e00547598583a4cd45b40b99", |
| "status": "affected", |
| "versionType": "git" |
| }, |
| { |
| "version": "2200aa7154cb7ef76bac93e98326883ba64bfa2e", |
| "lessThan": "96035c0093db258975b8887676afe59a64c34a72", |
| "status": "affected", |
| "versionType": "git" |
| }, |
| { |
| "version": "2200aa7154cb7ef76bac93e98326883ba64bfa2e", |
| "lessThan": "abd614bbfcee73247495bd9472da8f85ac83546e", |
| "status": "affected", |
| "versionType": "git" |
| }, |
| { |
| "version": "2200aa7154cb7ef76bac93e98326883ba64bfa2e", |
| "lessThan": "ca62d90085f4af36de745883faab9f8a7cbb45d3", |
| "status": "affected", |
| "versionType": "git" |
| } |
| ] |
| }, |
| { |
| "product": "Linux", |
| "vendor": "Linux", |
| "defaultStatus": "affected", |
| "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git", |
| "programFiles": [ |
| "arch/arm64/kernel/ptrace.c" |
| ], |
| "versions": [ |
| { |
| "version": "5.10", |
| "status": "affected" |
| }, |
| { |
| "version": "0", |
| "lessThan": "5.10", |
| "status": "unaffected", |
| "versionType": "semver" |
| }, |
| { |
| "version": "5.10.231", |
| "lessThanOrEqual": "5.10.*", |
| "status": "unaffected", |
| "versionType": "semver" |
| }, |
| { |
| "version": "5.15.174", |
| "lessThanOrEqual": "5.15.*", |
| "status": "unaffected", |
| "versionType": "semver" |
| }, |
| { |
| "version": "6.1.120", |
| "lessThanOrEqual": "6.1.*", |
| "status": "unaffected", |
| "versionType": "semver" |
| }, |
| { |
| "version": "6.6.66", |
| "lessThanOrEqual": "6.6.*", |
| "status": "unaffected", |
| "versionType": "semver" |
| }, |
| { |
| "version": "6.12.5", |
| "lessThanOrEqual": "6.12.*", |
| "status": "unaffected", |
| "versionType": "semver" |
| }, |
| { |
| "version": "6.13-rc2", |
| "lessThanOrEqual": "*", |
| "status": "unaffected", |
| "versionType": "original_commit_for_fix" |
| } |
| ] |
| } |
| ], |
| "references": [ |
| { |
| "url": "https://git.kernel.org/stable/c/1152dd13845efde5554f80c7e1233bae1d26bd3e" |
| }, |
| { |
| "url": "https://git.kernel.org/stable/c/1c176f5155ee6161fee6f416b64aa50394d3f220" |
| }, |
| { |
| "url": "https://git.kernel.org/stable/c/1370cf3eb5495d70e00547598583a4cd45b40b99" |
| }, |
| { |
| "url": "https://git.kernel.org/stable/c/96035c0093db258975b8887676afe59a64c34a72" |
| }, |
| { |
| "url": "https://git.kernel.org/stable/c/abd614bbfcee73247495bd9472da8f85ac83546e" |
| }, |
| { |
| "url": "https://git.kernel.org/stable/c/ca62d90085f4af36de745883faab9f8a7cbb45d3" |
| } |
| ], |
| "title": "arm64: ptrace: fix partial SETREGSET for NT_ARM_TAGGED_ADDR_CTRL", |
| "x_generator": { |
| "engine": "bippy-5f407fcff5a0" |
| } |
| } |
| }, |
| "cveMetadata": { |
| "assignerOrgId": "f4215fc3-5b6b-47ff-a258-f7189bd81038", |
| "cveID": "CVE-2025-23128", |
| "requesterUserId": "gregkh@kernel.org", |
| "serial": "1", |
| "state": "PUBLISHED" |
| }, |
| "dataType": "CVE_RECORD", |
| "dataVersion": "5.0" |
| } |