In the Linux kernel, the following vulnerability has been resolved:
tunnels: fix kasan splat when generating ipv4 pmtu error
If we try to emit an icmp error in response to a nonliner skb, we get
BUG: KASAN: slab-out-of-bounds in ipcomputecsum+0x134/0x220 Read of size 4 at addr ffff88811c50db00 by task iperf3/1691 CPU: 2 PID: 1691 Comm: iperf3 Not tainted 6.5.0-rc3+ #309 [..] kasanreport+0x105/0x140 ipcomputecsum+0x134/0x220 iptunnelpmtudbuildicmp+0x554/0x1020 skbtunnelcheckpmtu+0x513/0xb80 vxlanxmitone+0x139e/0x2ef0 vxlanxmit+0x1867/0x2760 devhardstartxmit+0x1ee/0x4f0 brdevqueuepush_xmit+0x4d1/0x660 [..]
ipcomputecsum() cannot deal with nonlinear skbs, so avoid it. After this change, splat is gone and iperf3 is no longer stuck.
{
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/53xxx/CVE-2023-53600.json"
}"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-53600.json"
[
{
"id": "CVE-2023-53600-23f0ca04",
"target": {
"function": "iptunnel_pmtud_build_icmp",
"file": "net/ipv4/ip_tunnel_core.c"
},
"signature_version": "v1",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@5850c391fd7e25662334cb3cbf29a62bcbff1084",
"digest": {
"function_hash": "251142107083327688403323333296032687604",
"length": 1403.0
},
"signature_type": "Function"
},
{
"id": "CVE-2023-53600-2d7445b1",
"target": {
"function": "iptunnel_pmtud_build_icmp",
"file": "net/ipv4/ip_tunnel_core.c"
},
"signature_version": "v1",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@e95808121953410db8c59f0abfde70ac0d34222c",
"digest": {
"function_hash": "108615936751834473855928204335262008002",
"length": 1397.0
},
"signature_type": "Function"
},
{
"id": "CVE-2023-53600-344ec1ba",
"target": {
"file": "net/ipv4/ip_tunnel_core.c"
},
"signature_version": "v1",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@e95808121953410db8c59f0abfde70ac0d34222c",
"digest": {
"threshold": 0.9,
"line_hashes": [
"74414917314643500547220875811142535759",
"317094426591248699455438177253800629613",
"52112621634655433566808959556367514585",
"164453582784624681342248622433226909639"
]
},
"signature_type": "Line"
},
{
"id": "CVE-2023-53600-396d9798",
"target": {
"file": "net/ipv4/ip_tunnel_core.c"
},
"signature_version": "v1",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@5850c391fd7e25662334cb3cbf29a62bcbff1084",
"digest": {
"threshold": 0.9,
"line_hashes": [
"55257582908582602902639601525369049420",
"144053301309705765213174956136324754510",
"52112621634655433566808959556367514585",
"164453582784624681342248622433226909639"
]
},
"signature_type": "Line"
},
{
"id": "CVE-2023-53600-3cc34bf5",
"target": {
"function": "iptunnel_pmtud_build_icmp",
"file": "net/ipv4/ip_tunnel_core.c"
},
"signature_version": "v1",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@6a7ac3d20593865209dceb554d8b3f094c6bd940",
"digest": {
"function_hash": "108615936751834473855928204335262008002",
"length": 1397.0
},
"signature_type": "Function"
},
{
"id": "CVE-2023-53600-798417ab",
"target": {
"file": "net/ipv4/ip_tunnel_core.c"
},
"signature_version": "v1",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@6a7ac3d20593865209dceb554d8b3f094c6bd940",
"digest": {
"threshold": 0.9,
"line_hashes": [
"74414917314643500547220875811142535759",
"317094426591248699455438177253800629613",
"52112621634655433566808959556367514585",
"164453582784624681342248622433226909639"
]
},
"signature_type": "Line"
},
{
"id": "CVE-2023-53600-ca6452e9",
"target": {
"function": "iptunnel_pmtud_build_icmp",
"file": "net/ipv4/ip_tunnel_core.c"
},
"signature_version": "v1",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@fe6a9f7516735be9fdabab00e47ef7a3403a174d",
"digest": {
"function_hash": "108615936751834473855928204335262008002",
"length": 1397.0
},
"signature_type": "Function"
},
{
"id": "CVE-2023-53600-cde80ca9",
"target": {
"function": "iptunnel_pmtud_build_icmp",
"file": "net/ipv4/ip_tunnel_core.c"
},
"signature_version": "v1",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@da5f42a6e7485fbb7a6dbd6a2b3045e19e4df5cc",
"digest": {
"function_hash": "108615936751834473855928204335262008002",
"length": 1397.0
},
"signature_type": "Function"
},
{
"id": "CVE-2023-53600-d1f93811",
"target": {
"file": "net/ipv4/ip_tunnel_core.c"
},
"signature_version": "v1",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@fe6a9f7516735be9fdabab00e47ef7a3403a174d",
"digest": {
"threshold": 0.9,
"line_hashes": [
"74414917314643500547220875811142535759",
"317094426591248699455438177253800629613",
"52112621634655433566808959556367514585",
"164453582784624681342248622433226909639"
]
},
"signature_type": "Line"
},
{
"id": "CVE-2023-53600-dbf21096",
"target": {
"file": "net/ipv4/ip_tunnel_core.c"
},
"signature_version": "v1",
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@da5f42a6e7485fbb7a6dbd6a2b3045e19e4df5cc",
"digest": {
"threshold": 0.9,
"line_hashes": [
"74414917314643500547220875811142535759",
"317094426591248699455438177253800629613",
"52112621634655433566808959556367514585",
"164453582784624681342248622433226909639"
]
},
"signature_type": "Line"
}
]