In the Linux kernel, the following vulnerability has been resolved:
tty: serial: samsungtty: Fix a memory leak in s3c24xxserial_getclk() when iterating clk
When the best clk is searched, we iterate over all possible clk.
If we find a better match, the previous one, if any, needs to be freed. If a better match has already been found, we still need to free the new one, otherwise it leaks.
{
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/53xxx/CVE-2023-53687.json"
}"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-53687.json"
[
{
"id": "CVE-2023-53687-0fceac9d",
"digest": {
"threshold": 0.9,
"line_hashes": [
"123735477166509136147863193363633273178",
"225360380545386039751468995818596806270",
"201894597386248447520696477492504280684",
"226973567379697101050324659816034871751",
"19929538382639835901230581589754923243",
"157366157054511580326705247971972064631",
"124410680668598095419812383092759627528",
"67274501012844007104205905093341342996"
]
},
"signature_type": "Line",
"target": {
"file": "drivers/tty/serial/samsung_tty.c"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@1f426293fef1c13742b2a685bf7e363f51f6ee03",
"deprecated": false
},
{
"id": "CVE-2023-53687-195aa05e",
"digest": {
"threshold": 0.9,
"line_hashes": [
"123735477166509136147863193363633273178",
"225360380545386039751468995818596806270",
"201894597386248447520696477492504280684",
"226973567379697101050324659816034871751",
"19929538382639835901230581589754923243",
"157366157054511580326705247971972064631",
"124410680668598095419812383092759627528",
"67274501012844007104205905093341342996"
]
},
"signature_type": "Line",
"target": {
"file": "drivers/tty/serial/samsung_tty.c"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@f0bf102ef9b05d7294bd8d506755465f6867d944",
"deprecated": false
},
{
"id": "CVE-2023-53687-1ea1b68f",
"digest": {
"length": 1067.0,
"function_hash": "270704987270416907921088486323682014905"
},
"signature_type": "Function",
"target": {
"file": "drivers/tty/serial/samsung_tty.c",
"function": "s3c24xx_serial_getclk"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@1f426293fef1c13742b2a685bf7e363f51f6ee03",
"deprecated": false
},
{
"id": "CVE-2023-53687-3fa85fd9",
"digest": {
"threshold": 0.9,
"line_hashes": [
"123735477166509136147863193363633273178",
"225360380545386039751468995818596806270",
"201894597386248447520696477492504280684",
"226973567379697101050324659816034871751",
"19929538382639835901230581589754923243",
"157366157054511580326705247971972064631",
"124410680668598095419812383092759627528",
"67274501012844007104205905093341342996"
]
},
"signature_type": "Line",
"target": {
"file": "drivers/tty/serial/samsung.c"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@01dd8a43a84616c830782166ba3cceb01ad95363",
"deprecated": false
},
{
"id": "CVE-2023-53687-45a78062",
"digest": {
"length": 1061.0,
"function_hash": "77733694699453275540279766455919436"
},
"signature_type": "Function",
"target": {
"file": "drivers/tty/serial/samsung_tty.c",
"function": "s3c24xx_serial_getclk"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@1962717c4649e026a4252fe6625175affd28a593",
"deprecated": false
},
{
"id": "CVE-2023-53687-67596669",
"digest": {
"threshold": 0.9,
"line_hashes": [
"123735477166509136147863193363633273178",
"225360380545386039751468995818596806270",
"201894597386248447520696477492504280684",
"226973567379697101050324659816034871751",
"19929538382639835901230581589754923243",
"157366157054511580326705247971972064631",
"124410680668598095419812383092759627528",
"67274501012844007104205905093341342996"
]
},
"signature_type": "Line",
"target": {
"file": "drivers/tty/serial/samsung_tty.c"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@1962717c4649e026a4252fe6625175affd28a593",
"deprecated": false
},
{
"id": "CVE-2023-53687-6cc5bc33",
"digest": {
"threshold": 0.9,
"line_hashes": [
"123735477166509136147863193363633273178",
"225360380545386039751468995818596806270",
"201894597386248447520696477492504280684",
"226973567379697101050324659816034871751",
"19929538382639835901230581589754923243",
"157366157054511580326705247971972064631",
"124410680668598095419812383092759627528",
"67274501012844007104205905093341342996"
]
},
"signature_type": "Line",
"target": {
"file": "drivers/tty/serial/samsung_tty.c"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@832e231cff476102e8204a9e7bddfe5c6154a375",
"deprecated": false
},
{
"id": "CVE-2023-53687-70ae5ae2",
"digest": {
"length": 1061.0,
"function_hash": "77733694699453275540279766455919436"
},
"signature_type": "Function",
"target": {
"file": "drivers/tty/serial/samsung.c",
"function": "s3c24xx_serial_getclk"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@933e5b2998bc3a527d15efbf1e97c9e63297aa3c",
"deprecated": false
},
{
"id": "CVE-2023-53687-79f8de5b",
"digest": {
"length": 1061.0,
"function_hash": "77733694699453275540279766455919436"
},
"signature_type": "Function",
"target": {
"file": "drivers/tty/serial/samsung.c",
"function": "s3c24xx_serial_getclk"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@46574e5a0a2aee41e6ebb979cfe1dbaea8693e16",
"deprecated": false
},
{
"id": "CVE-2023-53687-900d5e0e",
"digest": {
"length": 1067.0,
"function_hash": "270704987270416907921088486323682014905"
},
"signature_type": "Function",
"target": {
"file": "drivers/tty/serial/samsung_tty.c",
"function": "s3c24xx_serial_getclk"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@f0bf102ef9b05d7294bd8d506755465f6867d944",
"deprecated": false
},
{
"id": "CVE-2023-53687-bf220a90",
"digest": {
"length": 1061.0,
"function_hash": "77733694699453275540279766455919436"
},
"signature_type": "Function",
"target": {
"file": "drivers/tty/serial/samsung.c",
"function": "s3c24xx_serial_getclk"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@01dd8a43a84616c830782166ba3cceb01ad95363",
"deprecated": false
},
{
"id": "CVE-2023-53687-c8e6697d",
"digest": {
"length": 1061.0,
"function_hash": "77733694699453275540279766455919436"
},
"signature_type": "Function",
"target": {
"file": "drivers/tty/serial/samsung_tty.c",
"function": "s3c24xx_serial_getclk"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@9dd8091959bc41fee51d0827276a2b982e84adf0",
"deprecated": false
},
{
"id": "CVE-2023-53687-d640e603",
"digest": {
"threshold": 0.9,
"line_hashes": [
"123735477166509136147863193363633273178",
"225360380545386039751468995818596806270",
"201894597386248447520696477492504280684",
"226973567379697101050324659816034871751",
"19929538382639835901230581589754923243",
"157366157054511580326705247971972064631",
"124410680668598095419812383092759627528",
"67274501012844007104205905093341342996"
]
},
"signature_type": "Line",
"target": {
"file": "drivers/tty/serial/samsung.c"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@933e5b2998bc3a527d15efbf1e97c9e63297aa3c",
"deprecated": false
},
{
"id": "CVE-2023-53687-e6be7f4e",
"digest": {
"threshold": 0.9,
"line_hashes": [
"123735477166509136147863193363633273178",
"225360380545386039751468995818596806270",
"201894597386248447520696477492504280684",
"226973567379697101050324659816034871751",
"19929538382639835901230581589754923243",
"157366157054511580326705247971972064631",
"124410680668598095419812383092759627528",
"67274501012844007104205905093341342996"
]
},
"signature_type": "Line",
"target": {
"file": "drivers/tty/serial/samsung.c"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@46574e5a0a2aee41e6ebb979cfe1dbaea8693e16",
"deprecated": false
},
{
"id": "CVE-2023-53687-ec207473",
"digest": {
"threshold": 0.9,
"line_hashes": [
"123735477166509136147863193363633273178",
"225360380545386039751468995818596806270",
"201894597386248447520696477492504280684",
"226973567379697101050324659816034871751",
"19929538382639835901230581589754923243",
"157366157054511580326705247971972064631",
"124410680668598095419812383092759627528",
"67274501012844007104205905093341342996"
]
},
"signature_type": "Line",
"target": {
"file": "drivers/tty/serial/samsung_tty.c"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@9dd8091959bc41fee51d0827276a2b982e84adf0",
"deprecated": false
},
{
"id": "CVE-2023-53687-ff0b6010",
"digest": {
"length": 1067.0,
"function_hash": "270704987270416907921088486323682014905"
},
"signature_type": "Function",
"target": {
"file": "drivers/tty/serial/samsung_tty.c",
"function": "s3c24xx_serial_getclk"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@832e231cff476102e8204a9e7bddfe5c6154a375",
"deprecated": false
}
]