title: net: rds: Fix possible NULL-pointer dereference
description: In the Linux kernel, the following vulnerability has been resolved:
net: rds: Fix possible NULL-pointer dereference
In rds_rdma_cm_event_handler_cmn() check, if conn pointer exists
before dereferencing it as rdma_set_service_type() argument
Found by Linux Verification Center (linuxtesting.org) with SVACE.
affected:
{
product: Linux
vendor: Linux
defaultStatus: unaffected
repo: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
versions:
version: fd261ce6a30e, lessThan: 812da2a08dc5, status: affected, versionType: git
version: fd261ce6a30e, lessThan: f515112e8337, status: affected, versionType: git
version: fd261ce6a30e, lessThan: ea82139e6e35, status: affected, versionType: git
version: fd261ce6a30e, lessThan: 51fa66024a5e, status: affected, versionType: git
version: fd261ce6a30e, lessThan: 069ac51c37a6, status: affected, versionType: git
version: fd261ce6a30e, lessThan: f1d95df0f310, status: affected, versionType: git
}
{
product: Linux
vendor: Linux
defaultStatus: affected
repo: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
versions:
version: 5.1, status: affected
version: 0, lessThan: 5.1, status: unaffected, versionType: custom
version: 5.4.258, lessThanOrEqual: 5.4.*, status: unaffected, versionType: custom
version: 5.10.198, lessThanOrEqual: 5.10.*, status: unaffected, versionType: custom
version: 5.15.134, lessThanOrEqual: 5.15.*, status: unaffected, versionType: custom
version: 6.1.56, lessThanOrEqual: 6.1.*, status: unaffected, versionType: custom
version: 6.5.6, lessThanOrEqual: 6.5.*, status: unaffected, versionType: custom
version: 6.6, lessThanOrEqual: *, status: unaffected, versionType: original_commit_for_fix
}
