In the Linux kernel, the following vulnerability has been resolved:
scsi: libfc: Fix potential NULL pointer dereference in fclportptp_setup()
fclportptpsetup() did not check the return value of fcrportcreate() which can return NULL and would cause a NULL pointer dereference. Address this issue by checking return value of fcrportcreate() and log error message on fcrport_create() failed.
[
{
"target": {
"function": "fc_lport_ptp_setup",
"file": "drivers/scsi/libfc/fc_lport.c"
},
"signature_version": "v1",
"signature_type": "Function",
"digest": {
"function_hash": "230062271084816811577606407018220775341",
"length": 580.0
},
"deprecated": false,
"id": "CVE-2023-52809-09aa0f6c",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@b549acf999824d4f751ca57965700372f2f3ad00"
},
{
"target": {
"file": "drivers/scsi/libfc/fc_lport.c"
},
"signature_version": "v1",
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"273678605241447261339116801975657233152",
"200056064712374508360147533638221344111",
"188655660581770758386196927521878512724",
"269785452634836190780941684693160694823"
]
},
"deprecated": false,
"id": "CVE-2023-52809-2a3cb2a6",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@4df105f0ce9f6f30cda4e99f577150d23f0c9c5f"
},
{
"target": {
"file": "drivers/scsi/libfc/fc_lport.c"
},
"signature_version": "v1",
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"273678605241447261339116801975657233152",
"200056064712374508360147533638221344111",
"188655660581770758386196927521878512724",
"269785452634836190780941684693160694823"
]
},
"deprecated": false,
"id": "CVE-2023-52809-3fc63da1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@f6fe7261b92b21109678747f36df9fdab1e30c34"
},
{
"target": {
"file": "drivers/scsi/libfc/fc_lport.c"
},
"signature_version": "v1",
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"273678605241447261339116801975657233152",
"200056064712374508360147533638221344111",
"188655660581770758386196927521878512724",
"269785452634836190780941684693160694823"
]
},
"deprecated": false,
"id": "CVE-2023-52809-52ec3048",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@56d78b5495ebecbb9395101f3be177cd0a52450b"
},
{
"target": {
"function": "fc_lport_ptp_setup",
"file": "drivers/scsi/libfc/fc_lport.c"
},
"signature_version": "v1",
"signature_type": "Function",
"digest": {
"function_hash": "230062271084816811577606407018220775341",
"length": 580.0
},
"deprecated": false,
"id": "CVE-2023-52809-539c6f27",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@bb83f79f90e92f46466adcfd4fd264a7ae0f0f01"
},
{
"target": {
"file": "drivers/scsi/libfc/fc_lport.c"
},
"signature_version": "v1",
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"273678605241447261339116801975657233152",
"200056064712374508360147533638221344111",
"188655660581770758386196927521878512724",
"269785452634836190780941684693160694823"
]
},
"deprecated": false,
"id": "CVE-2023-52809-57326bba",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@6b9ecf4e1032e645873933e5b43cbb84cac19106"
},
{
"target": {
"function": "fc_lport_ptp_setup",
"file": "drivers/scsi/libfc/fc_lport.c"
},
"signature_version": "v1",
"signature_type": "Function",
"digest": {
"function_hash": "230062271084816811577606407018220775341",
"length": 580.0
},
"deprecated": false,
"id": "CVE-2023-52809-742e15cd",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@442fd24d7b6b29e4a9cd9225afba4142d5f522ba"
},
{
"target": {
"function": "fc_lport_ptp_setup",
"file": "drivers/scsi/libfc/fc_lport.c"
},
"signature_version": "v1",
"signature_type": "Function",
"digest": {
"function_hash": "230062271084816811577606407018220775341",
"length": 580.0
},
"deprecated": false,
"id": "CVE-2023-52809-751332dc",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@77072ec41d6ab3718c3fc639bc149b8037caedfa"
},
{
"target": {
"function": "fc_lport_ptp_setup",
"file": "drivers/scsi/libfc/fc_lport.c"
},
"signature_version": "v1",
"signature_type": "Function",
"digest": {
"function_hash": "230062271084816811577606407018220775341",
"length": 580.0
},
"deprecated": false,
"id": "CVE-2023-52809-8379a97a",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@4df105f0ce9f6f30cda4e99f577150d23f0c9c5f"
},
{
"target": {
"file": "drivers/scsi/libfc/fc_lport.c"
},
"signature_version": "v1",
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"273678605241447261339116801975657233152",
"200056064712374508360147533638221344111",
"188655660581770758386196927521878512724",
"269785452634836190780941684693160694823"
]
},
"deprecated": false,
"id": "CVE-2023-52809-880ffd82",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@442fd24d7b6b29e4a9cd9225afba4142d5f522ba"
},
{
"target": {
"file": "drivers/scsi/libfc/fc_lport.c"
},
"signature_version": "v1",
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"273678605241447261339116801975657233152",
"200056064712374508360147533638221344111",
"188655660581770758386196927521878512724",
"269785452634836190780941684693160694823"
]
},
"deprecated": false,
"id": "CVE-2023-52809-91bb8fa7",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@bb83f79f90e92f46466adcfd4fd264a7ae0f0f01"
},
{
"target": {
"function": "fc_lport_ptp_setup",
"file": "drivers/scsi/libfc/fc_lport.c"
},
"signature_version": "v1",
"signature_type": "Function",
"digest": {
"function_hash": "73513511183561311828185060420257660313",
"length": 545.0
},
"deprecated": false,
"id": "CVE-2023-52809-a2bef811",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@930f0aaba4820d6362de4e6ed569eaf444f1ea4e"
},
{
"target": {
"function": "fc_lport_ptp_setup",
"file": "drivers/scsi/libfc/fc_lport.c"
},
"signature_version": "v1",
"signature_type": "Function",
"digest": {
"function_hash": "230062271084816811577606407018220775341",
"length": 580.0
},
"deprecated": false,
"id": "CVE-2023-52809-b1184170",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@56d78b5495ebecbb9395101f3be177cd0a52450b"
},
{
"target": {
"function": "fc_lport_ptp_setup",
"file": "drivers/scsi/libfc/fc_lport.c"
},
"signature_version": "v1",
"signature_type": "Function",
"digest": {
"function_hash": "230062271084816811577606407018220775341",
"length": 580.0
},
"deprecated": false,
"id": "CVE-2023-52809-c0365b20",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@6b9ecf4e1032e645873933e5b43cbb84cac19106"
},
{
"target": {
"file": "drivers/scsi/libfc/fc_lport.c"
},
"signature_version": "v1",
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"273678605241447261339116801975657233152",
"200056064712374508360147533638221344111",
"188655660581770758386196927521878512724",
"269785452634836190780941684693160694823"
]
},
"deprecated": false,
"id": "CVE-2023-52809-c4cacac3",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@b549acf999824d4f751ca57965700372f2f3ad00"
},
{
"target": {
"file": "drivers/scsi/libfc/fc_lport.c"
},
"signature_version": "v1",
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"273678605241447261339116801975657233152",
"200056064712374508360147533638221344111",
"188655660581770758386196927521878512724",
"269785452634836190780941684693160694823"
]
},
"deprecated": false,
"id": "CVE-2023-52809-ce10c239",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@930f0aaba4820d6362de4e6ed569eaf444f1ea4e"
},
{
"target": {
"function": "fc_lport_ptp_setup",
"file": "drivers/scsi/libfc/fc_lport.c"
},
"signature_version": "v1",
"signature_type": "Function",
"digest": {
"function_hash": "230062271084816811577606407018220775341",
"length": 580.0
},
"deprecated": false,
"id": "CVE-2023-52809-da3778d9",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@f6fe7261b92b21109678747f36df9fdab1e30c34"
},
{
"target": {
"file": "drivers/scsi/libfc/fc_lport.c"
},
"signature_version": "v1",
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"273678605241447261339116801975657233152",
"200056064712374508360147533638221344111",
"188655660581770758386196927521878512724",
"269785452634836190780941684693160694823"
]
},
"deprecated": false,
"id": "CVE-2023-52809-de5bd5ae",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@77072ec41d6ab3718c3fc639bc149b8037caedfa"
}
]