Public mode

No access to your tenant or devices. Every item links to its source. What this means

Sources need attention Customize Public modeDiscuss ChangeIntel on Discord

net: atlantic: eliminate double free in error handling logic

CVSS 3.1 7.8 HIGHCheck source for fixed versionsKEV status unknown

cve-program · CVE-2023-52664

Published

In the Linux kernel, the following vulnerability has been resolved: net: atlantic: eliminate double free in error handling logic Driver has a logic leak in ring data allocation/free, where aq_ring_free could be called multiple times on same ring, if system is under stress and got memory allocation error. Ring pointer was used as an indicator of failure, but this is not correct since only ring data is allocated/deallocated. Ring itself is an array member. Changing ring allocation functions to return error code directly. This simplifies error handling and eliminates aq_ring_free on higher layer.

Read the publisher's advisory

Affected versions, risk and source history

cve-program · CVE-2023-52664

Published

Linux

Vendor product

Publisher's version information

Shown as published. These rules are not interpreted as NuGet package version ranges.

{
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "drivers/net/ethernet/aquantia/atlantic/aq_ptp.c",
                        "drivers/net/ethernet/aquantia/atlantic/aq_ring.c",
                        "drivers/net/ethernet/aquantia/atlantic/aq_ring.h",
                        "drivers/net/ethernet/aquantia/atlantic/aq_vec.c"
                    ],
                    "versions": [
                        {
                            "version": "018423e90bee8978105eaaa265a26e70637f9f1e",
                            "lessThan": "0edb3ae8bfa31cd544b0c195bdec00e036002b5d",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "018423e90bee8978105eaaa265a26e70637f9f1e",
                            "lessThan": "c11a870a73a3bc4cc7df6dd877a45b181795fcbf",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "018423e90bee8978105eaaa265a26e70637f9f1e",
                            "lessThan": "d1fde4a7e1dcc4d49cce285107a7a43c3030878d",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "018423e90bee8978105eaaa265a26e70637f9f1e",
                            "lessThan": "b3cb7a830a24527877b0bc900b9bd74a96aea928",
                            "status": "affected",
                            "versionType": "git"
                        }
                    ]
                }

Linux

Vendor product

Publisher's version information

Shown as published. These rules are not interpreted as NuGet package version ranges.

{
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "affected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "drivers/net/ethernet/aquantia/atlantic/aq_ptp.c",
                        "drivers/net/ethernet/aquantia/atlantic/aq_ring.c",
                        "drivers/net/ethernet/aquantia/atlantic/aq_ring.h",
                        "drivers/net/ethernet/aquantia/atlantic/aq_vec.c"
                    ],
                    "versions": [
                        {
                            "version": "4.11",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "4.11",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.1.77",
                            "lessThanOrEqual": "6.1.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.6.16",
                            "lessThanOrEqual": "6.6.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.7.4",
                            "lessThanOrEqual": "6.7.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.8",
                            "lessThanOrEqual": "*",
                            "status": "unaffected",
                            "versionType": "original_commit_for_fix"
                        }
                    ]
                }

Original source record · Cite this exact observation · Complete original publisher JSON

ChangeIntel

An IT change radar: releases, security, known issues, retirements, documentation changes, and service status from public sources. Every item links to supporting evidence; dates and statuses can change after they are read.

Sources read 23 Nov 04:12 UTC · 274 of 275 readable · 269 fully read · documentation 469/469 current