CVE-2024-26652
Assigner: Linux
Published: 2024-03-27T13:53:20.726Z
State: PUBLISHED
descriptions: value: In the Linux kernel, the following vulnerability has been resolved:

net: pds_core: Fix possible double free in error handling path

When auxiliary_device_add() returns error and then calls
auxiliary_device_uninit(), Callback function pdsc_auxbus_dev_release
calls kfree(padev) to free memory. We shouldn't call kfree(padev)
again in the error handling path.

Fix this by cleaning up the redundant kfree() and putting
the error handling back to where the errors happened.
affected: product: Linux
vendor: Linux
defaultStatus: unaffected
repo: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
versions: version: 4569cce43bc6
lessThan: 995f802abff2
status: affected
versionType: git
version: 4569cce43bc6
lessThan: ffda0e962f27
status: affected
versionType: git
version: 4569cce43bc6
lessThan: ba18deddd6d5
status: affected
versionType: git
product: Linux
vendor: Linux
defaultStatus: affected
repo: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
versions: version: 6.4
status: affected
version: 0
lessThan: 6.4
status: unaffected
versionType: custom
version: 6.6.22
lessThanOrEqual: 6.6.*
status: unaffected
versionType: custom
version: 6.7.10
lessThanOrEqual: 6.7.*
status: unaffected
versionType: custom
version: 6.8
lessThanOrEqual: *
status: unaffected
versionType: original_commit_for_fix
title: net: pds_core: Fix possible double free in error handling path
x_generator: engine: bippy-b4257b672505