CVE-2023-54312 (GCVE-0-2023-54312)
Vulnerability from cvelistv5 – Published: 2025-12-30 12:23 – Updated: 2026-05-11 19:59
VLAI
EPSS
VEX
Title
samples/bpf: Fix buffer overflow in tcp_basertt
Summary
In the Linux kernel, the following vulnerability has been resolved:
samples/bpf: Fix buffer overflow in tcp_basertt
Using sizeof(nv) or strlen(nv)+1 is correct.
Severity
No CVSS data available.
Assigner
References
8 references
Impacted products
2 products
| Vendor | Product | Version | |
|---|---|---|---|
| Linux | Linux |
Affected:
c890063e440456e75c2e70f6bcec3797f1771eb6 , < cf7514fedc25675e68b74941df28a883951e70fd
(git)
Affected: c890063e440456e75c2e70f6bcec3797f1771eb6 , < f394d204d64095d72ad9f03ff98f3f3743bf743a (git) Affected: c890063e440456e75c2e70f6bcec3797f1771eb6 , < bd3e880dce27d225598730d2bbb3dc05b443af22 (git) Affected: c890063e440456e75c2e70f6bcec3797f1771eb6 , < e92f61e0701ea780e57e1be8dbd1fbec5f42c09e (git) Affected: c890063e440456e75c2e70f6bcec3797f1771eb6 , < 56c25f2763a16db4fa1b486e6a21dc246cd992bd (git) Affected: c890063e440456e75c2e70f6bcec3797f1771eb6 , < dfc004688518d24159606289c74d0c4e123e6436 (git) Affected: c890063e440456e75c2e70f6bcec3797f1771eb6 , < 7c08d1b0d1f75117cf82aeaef49ba9f861b3fb59 (git) Affected: c890063e440456e75c2e70f6bcec3797f1771eb6 , < f4dea9689c5fea3d07170c2cb0703e216f1a0922 (git) |
|
| Linux | Linux |
Affected:
4.15
Unaffected: 0 , < 4.15 (semver) Unaffected: 4.19.291 , ≤ 4.19.* (semver) Unaffected: 5.4.251 , ≤ 5.4.* (semver) Unaffected: 5.10.188 , ≤ 5.10.* (semver) Unaffected: 5.15.121 , ≤ 5.15.* (semver) Unaffected: 6.1.39 , ≤ 6.1.* (semver) Unaffected: 6.3.13 , ≤ 6.3.* (semver) Unaffected: 6.4.4 , ≤ 6.4.* (semver) Unaffected: 6.5 , ≤ * (original_commit_for_fix) |
{
"containers": {
"cna": {
"affected": [
{
"defaultStatus": "unaffected",
"product": "Linux",
"programFiles": [
"samples/bpf/tcp_basertt_kern.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"lessThan": "cf7514fedc25675e68b74941df28a883951e70fd",
"status": "affected",
"version": "c890063e440456e75c2e70f6bcec3797f1771eb6",
"versionType": "git"
},
{
"lessThan": "f394d204d64095d72ad9f03ff98f3f3743bf743a",
"status": "affected",
"version": "c890063e440456e75c2e70f6bcec3797f1771eb6",
"versionType": "git"
},
{
"lessThan": "bd3e880dce27d225598730d2bbb3dc05b443af22",
"status": "affected",
"version": "c890063e440456e75c2e70f6bcec3797f1771eb6",
"versionType": "git"
},
{
"lessThan": "e92f61e0701ea780e57e1be8dbd1fbec5f42c09e",
"status": "affected",
"version": "c890063e440456e75c2e70f6bcec3797f1771eb6",
"versionType": "git"
},
{
"lessThan": "56c25f2763a16db4fa1b486e6a21dc246cd992bd",
"status": "affected",
"version": "c890063e440456e75c2e70f6bcec3797f1771eb6",
"versionType": "git"
},
{
"lessThan": "dfc004688518d24159606289c74d0c4e123e6436",
"status": "affected",
"version": "c890063e440456e75c2e70f6bcec3797f1771eb6",
"versionType": "git"
},
{
"lessThan": "7c08d1b0d1f75117cf82aeaef49ba9f861b3fb59",
"status": "affected",
"version": "c890063e440456e75c2e70f6bcec3797f1771eb6",
"versionType": "git"
},
{
"lessThan": "f4dea9689c5fea3d07170c2cb0703e216f1a0922",
"status": "affected",
"version": "c890063e440456e75c2e70f6bcec3797f1771eb6",
"versionType": "git"
}
]
},
{
"defaultStatus": "affected",
"product": "Linux",
"programFiles": [
"samples/bpf/tcp_basertt_kern.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"status": "affected",
"version": "4.15"
},
{
"lessThan": "4.15",
"status": "unaffected",
"version": "0",
"versionType": "semver"
},
{
"lessThanOrEqual": "4.19.*",
"status": "unaffected",
"version": "4.19.291",
"versionType": "semver"
},
{
"lessThanOrEqual": "5.4.*",
"status": "unaffected",
"version": "5.4.251",
"versionType": "semver"
},
{
"lessThanOrEqual": "5.10.*",
"status": "unaffected",
"version": "5.10.188",
"versionType": "semver"
},
{
"lessThanOrEqual": "5.15.*",
"status": "unaffected",
"version": "5.15.121",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.1.*",
"status": "unaffected",
"version": "6.1.39",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.3.*",
"status": "unaffected",
"version": "6.3.13",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.4.*",
"status": "unaffected",
"version": "6.4.4",
"versionType": "semver"
},
{
"lessThanOrEqual": "*",
"status": "unaffected",
"version": "6.5",
"versionType": "original_commit_for_fix"
}
]
}
],
"cpeApplicability": [
{
"nodes": [
{
"cpeMatch": [
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "4.19.291",
"versionStartIncluding": "4.15",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "5.4.251",
"versionStartIncluding": "4.15",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "5.10.188",
"versionStartIncluding": "4.15",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "5.15.121",
"versionStartIncluding": "4.15",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "6.1.39",
"versionStartIncluding": "4.15",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "6.3.13",
"versionStartIncluding": "4.15",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "6.4.4",
"versionStartIncluding": "4.15",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "6.5",
"versionStartIncluding": "4.15",
"vulnerable": true
}
],
"negate": false,
"operator": "OR"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "In the Linux kernel, the following vulnerability has been resolved:\n\nsamples/bpf: Fix buffer overflow in tcp_basertt\n\nUsing sizeof(nv) or strlen(nv)+1 is correct."
}
],
"providerMetadata": {
"dateUpdated": "2026-05-11T19:59:32.024Z",
"orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"shortName": "Linux"
},
"references": [
{
"url": "https://git.kernel.org/stable/c/cf7514fedc25675e68b74941df28a883951e70fd"
},
{
"url": "https://git.kernel.org/stable/c/f394d204d64095d72ad9f03ff98f3f3743bf743a"
},
{
"url": "https://git.kernel.org/stable/c/bd3e880dce27d225598730d2bbb3dc05b443af22"
},
{
"url": "https://git.kernel.org/stable/c/e92f61e0701ea780e57e1be8dbd1fbec5f42c09e"
},
{
"url": "https://git.kernel.org/stable/c/56c25f2763a16db4fa1b486e6a21dc246cd992bd"
},
{
"url": "https://git.kernel.org/stable/c/dfc004688518d24159606289c74d0c4e123e6436"
},
{
"url": "https://git.kernel.org/stable/c/7c08d1b0d1f75117cf82aeaef49ba9f861b3fb59"
},
{
"url": "https://git.kernel.org/stable/c/f4dea9689c5fea3d07170c2cb0703e216f1a0922"
}
],
"title": "samples/bpf: Fix buffer overflow in tcp_basertt",
"x_generator": {
"engine": "bippy-1.2.0"
}
}
},
"cveMetadata": {
"assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"assignerShortName": "Linux",
"cveId": "CVE-2023-54312",
"datePublished": "2025-12-30T12:23:43.828Z",
"dateReserved": "2025-12-30T12:06:44.530Z",
"dateUpdated": "2026-05-11T19:59:32.024Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2",
"vulnerability-lookup:meta": {
"epss": {
"cve": "CVE-2023-54312",
"date": "2026-11-17",
"epss": "0.00216",
"percentile": "0.12093"
},
"nvd": {
"cve": {
"affected": [
{
"affectedData": [
{
"defaultStatus": "unaffected",
"product": "Linux",
"programFiles": [
"samples/bpf/tcp_basertt_kern.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"lessThan": "cf7514fedc25675e68b74941df28a883951e70fd",
"status": "affected",
"version": "c890063e440456e75c2e70f6bcec3797f1771eb6",
"versionType": "git"
},
{
"lessThan": "f394d204d64095d72ad9f03ff98f3f3743bf743a",
"status": "affected",
"version": "c890063e440456e75c2e70f6bcec3797f1771eb6",
"versionType": "git"
},
{
"lessThan": "bd3e880dce27d225598730d2bbb3dc05b443af22",
"status": "affected",
"version": "c890063e440456e75c2e70f6bcec3797f1771eb6",
"versionType": "git"
},
{
"lessThan": "e92f61e0701ea780e57e1be8dbd1fbec5f42c09e",
"status": "affected",
"version": "c890063e440456e75c2e70f6bcec3797f1771eb6",
"versionType": "git"
},
{
"lessThan": "56c25f2763a16db4fa1b486e6a21dc246cd992bd",
"status": "affected",
"version": "c890063e440456e75c2e70f6bcec3797f1771eb6",
"versionType": "git"
},
{
"lessThan": "dfc004688518d24159606289c74d0c4e123e6436",
"status": "affected",
"version": "c890063e440456e75c2e70f6bcec3797f1771eb6",
"versionType": "git"
},
{
"lessThan": "7c08d1b0d1f75117cf82aeaef49ba9f861b3fb59",
"status": "affected",
"version": "c890063e440456e75c2e70f6bcec3797f1771eb6",
"versionType": "git"
},
{
"lessThan": "f4dea9689c5fea3d07170c2cb0703e216f1a0922",
"status": "affected",
"version": "c890063e440456e75c2e70f6bcec3797f1771eb6",
"versionType": "git"
}
]
},
{
"defaultStatus": "affected",
"product": "Linux",
"programFiles": [
"samples/bpf/tcp_basertt_kern.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"status": "affected",
"version": "4.15"
},
{
"lessThan": "4.15",
"status": "unaffected",
"version": "0",
"versionType": "semver"
},
{
"lessThanOrEqual": "4.19.*",
"status": "unaffected",
"version": "4.19.291",
"versionType": "semver"
},
{
"lessThanOrEqual": "5.4.*",
"status": "unaffected",
"version": "5.4.251",
"versionType": "semver"
},
{
"lessThanOrEqual": "5.10.*",
"status": "unaffected",
"version": "5.10.188",
"versionType": "semver"
},
{
"lessThanOrEqual": "5.15.*",
"status": "unaffected",
"version": "5.15.121",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.1.*",
"status": "unaffected",
"version": "6.1.39",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.3.*",
"status": "unaffected",
"version": "6.3.13",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.4.*",
"status": "unaffected",
"version": "6.4.4",
"versionType": "semver"
},
{
"lessThanOrEqual": "*",
"status": "unaffected",
"version": "6.5",
"versionType": "original_commit_for_fix"
}
]
}
],
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
}
],
"cveTags": [],
"descriptions": [
{
"lang": "en",
"value": "In the Linux kernel, the following vulnerability has been resolved:\n\nsamples/bpf: Fix buffer overflow in tcp_basertt\n\nUsing sizeof(nv) or strlen(nv)+1 is correct."
},
{
"lang": "es",
"value": "En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad:\n\nsamples/bpf: Solucionar desbordamiento de b\u00fafer en tcp_basertt\n\nEl uso de sizeof(nv) o strlen(nv)+1 es correcto."
}
],
"id": "CVE-2023-54312",
"lastModified": "2026-06-17T06:47:12.380",
"metrics": {},
"published": "2025-12-30T13:16:20.430",
"references": [
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"url": "https://git.kernel.org/stable/c/56c25f2763a16db4fa1b486e6a21dc246cd992bd"
},
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"url": "https://git.kernel.org/stable/c/7c08d1b0d1f75117cf82aeaef49ba9f861b3fb59"
},
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"url": "https://git.kernel.org/stable/c/bd3e880dce27d225598730d2bbb3dc05b443af22"
},
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"url": "https://git.kernel.org/stable/c/cf7514fedc25675e68b74941df28a883951e70fd"
},
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"url": "https://git.kernel.org/stable/c/dfc004688518d24159606289c74d0c4e123e6436"
},
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"url": "https://git.kernel.org/stable/c/e92f61e0701ea780e57e1be8dbd1fbec5f42c09e"
},
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"url": "https://git.kernel.org/stable/c/f394d204d64095d72ad9f03ff98f3f3743bf743a"
},
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"url": "https://git.kernel.org/stable/c/f4dea9689c5fea3d07170c2cb0703e216f1a0922"
}
],
"sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"vulnStatus": "Deferred"
}
},
"redhat_vex": {
"aggregate_severity": "Low",
"current_release_date": "2026-11-07T11:14:53+00:00",
"cve": "CVE-2023-54312",
"id": "CVE-2023-54312",
"initial_release_date": "2023-01-01T00:00:00+00:00",
"product_status:fixed": "279",
"product_status:known_affected": "22",
"product_status:known_not_affected": "91",
"source": "Red Hat CSAF VEX",
"status": "final",
"title": "kernel: samples/bpf: Fix buffer overflow in tcp_basertt",
"url": "https://security.access.redhat.com/data/csaf/v2/vex/2023/cve-2023-54312.json",
"version": "3"
},
"suse_vex": {
"aggregate_severity": "moderate",
"current_release_date": "2026-10-16T02:29:36Z",
"cve": "CVE-2023-54312",
"id": "CVE-2023-54312",
"initial_release_date": "2025-12-31T00:26:04Z",
"product_status:known_affected": "628",
"product_status:known_not_affected": "162",
"product_status:recommended": "241",
"source": "SUSE CSAF VEX",
"status": "interim",
"title": "SUSE CVE CVE-2023-54312",
"url": "https://ftp.suse.com/pub/projects/security/csaf-vex/2025/cve-2023-54312.json",
"version": "40"
}
}
}
Loading…
Loading…
Experimental. This forecast is provided for visualization only and may change without notice. Do not use it for operational decisions.
Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
Loading…
The MITRE ATT&CK techniques below are AI-generated suggestions, inferred from the description of the
vulnerability by the CIRCL/vulnerability-attack-technique-classification-roberta-base
model, served locally by ML-Gateway.
They have not been verified by an analyst and are provided for guidance only.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
Loading…
Related by attack behaviour
Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.
Loading…