In the Linux kernel, the following vulnerability has been resolved:
ksmbd: add free_transport ops in ksmbd connection
freetransport function for tcp connection can be called from smbdirect. It will cause kernel oops. This patch add freetransport ops in ksmbd connection, and add each free_transports for tcp and smbdirect.
[ { "id": "CVE-2025-38325-01787c7c", "deprecated": false, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@3890da762a66191c440b0bd6e3ee45501edbb0c1", "signature_type": "Function", "target": { "function": "free_transport", "file": "fs/smb/server/transport_rdma.c" }, "digest": { "function_hash": "326387991365308952672903192665387477701", "length": 1182.0 }, "signature_version": "v1" }, { "id": "CVE-2025-38325-100ed099", "deprecated": false, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@3890da762a66191c440b0bd6e3ee45501edbb0c1", "signature_type": "Line", "target": { "file": "fs/smb/server/connection.c" }, "digest": { "threshold": 0.9, "line_hashes": [ "88445180273439299012769333799440058365", "204459533252208510498402252337344603143", "242804298784797994959750523150324708257", "30724619255724339504407940450803554935" ] }, "signature_version": "v1" }, { "id": "CVE-2025-38325-1e92d92a", "deprecated": false, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@52f5a52dc17a4a7b4363ac03fe2c4ef26f020dc6", "signature_type": "Function", "target": { "function": "ksmbd_conn_free", "file": "fs/smb/server/connection.c" }, "digest": { "function_hash": "306666032699516546801144089037027100444", "length": 342.0 }, "signature_version": "v1" }, { "id": "CVE-2025-38325-22daff47", "deprecated": false, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@3f3aae77280aad9f5acc6709c596148966f765c7", "signature_type": "Line", "target": { "file": "fs/smb/server/transport_tcp.c" }, "digest": { "threshold": 0.9, "line_hashes": [ "339859953421581233728110830185951643654", "42216723957993140289571416758258914255", "272538345436260570236111914585676768324", "73410468816089927868497431246945146954", "177824804126080367068793359880764014351", "258322533576490227975065776299712295702" ] }, "signature_version": "v1" }, { "id": "CVE-2025-38325-2948d898", "deprecated": false, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a89f5fae998bdc4d0505306f93844c9ae059d50c", "signature_type": "Function", "target": { "function": "ksmbd_free_transport", "file": "fs/smb/server/transport_tcp.c" }, "digest": { "function_hash": "203838199667559333612348896566417274825", "length": 143.0 }, "signature_version": "v1" }, { "id": "CVE-2025-38325-2d5a98e4", "deprecated": false, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@3890da762a66191c440b0bd6e3ee45501edbb0c1", "signature_type": "Function", "target": { "function": "ksmbd_free_transport", "file": "fs/smb/server/transport_tcp.c" }, "digest": { "function_hash": "203838199667559333612348896566417274825", "length": 143.0 }, "signature_version": "v1" }, { "id": "CVE-2025-38325-3498b61c", "deprecated": false, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a89f5fae998bdc4d0505306f93844c9ae059d50c", "signature_type": "Line", "target": { "file": "fs/smb/server/connection.h" }, "digest": { "threshold": 0.9, "line_hashes": [ "323383670278817445749098000838894255900", "115296316621410917382760233060158247192", "87471166449441929447820200206487859836", "157507557608227275841242720826310085306" ] }, "signature_version": "v1" }, { "id": "CVE-2025-38325-38915180", "deprecated": false, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@3f3aae77280aad9f5acc6709c596148966f765c7", "signature_type": "Function", "target": { "function": "ksmbd_free_transport", "file": "fs/smb/server/transport_tcp.c" }, "digest": { "function_hash": "203838199667559333612348896566417274825", "length": 143.0 }, "signature_version": "v1" }, { "id": "CVE-2025-38325-428e3d99", "deprecated": false, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a89f5fae998bdc4d0505306f93844c9ae059d50c", "signature_type": "Line", "target": { "file": "fs/smb/server/transport_tcp.c" }, "digest": { "threshold": 0.9, "line_hashes": [ "339859953421581233728110830185951643654", "42216723957993140289571416758258914255", "272538345436260570236111914585676768324", "73410468816089927868497431246945146954", "177824804126080367068793359880764014351", "258322533576490227975065776299712295702" ] }, "signature_version": "v1" }, { "id": "CVE-2025-38325-576b51dc", "deprecated": false, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@3f3aae77280aad9f5acc6709c596148966f765c7", "signature_type": "Line", "target": { "file": "fs/smb/server/transport_rdma.c" }, "digest": { "threshold": 0.9, "line_hashes": [ "316189347057007352918988251955683867482", "150394020193823172613640287743938160974", "288048458528466218522576011308374331461", "66375076237853796183165759950724335430", "91893991610124012758356455321163950896", "91568858244169031479917634228887924871", "241525723468916968558664570493928333727", "42716082317291405842099819683623739565", "156840614918328575695500103613400893965", "78986073501841696457683214110940381732", "181869467503446666497345895552533452524", "277657177028664364325951010731298912141" ] }, "signature_version": "v1" }, { "id": "CVE-2025-38325-57b975a5", "deprecated": false, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@52f5a52dc17a4a7b4363ac03fe2c4ef26f020dc6", "signature_type": "Function", "target": { "function": "free_transport", "file": "fs/smb/server/transport_rdma.c" }, "digest": { "function_hash": "214414284836525408236002327044010960427", "length": 1206.0 }, "signature_version": "v1" }, { "id": "CVE-2025-38325-5928d304", "deprecated": false, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@3f3aae77280aad9f5acc6709c596148966f765c7", "signature_type": "Function", "target": { "function": "free_transport", "file": "fs/smb/server/transport_rdma.c" }, "digest": { "function_hash": "326387991365308952672903192665387477701", "length": 1182.0 }, "signature_version": "v1" }, { "id": "CVE-2025-38325-8fe745eb", "deprecated": false, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@52f5a52dc17a4a7b4363ac03fe2c4ef26f020dc6", "signature_type": "Line", "target": { "file": "fs/smb/server/connection.h" }, "digest": { "threshold": 0.9, "line_hashes": [ "323383670278817445749098000838894255900", "115296316621410917382760233060158247192", "87471166449441929447820200206487859836", "157507557608227275841242720826310085306" ] }, "signature_version": "v1" }, { "id": "CVE-2025-38325-921df2ef", "deprecated": false, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@52f5a52dc17a4a7b4363ac03fe2c4ef26f020dc6", "signature_type": "Line", "target": { "file": "fs/smb/server/connection.c" }, "digest": { "threshold": 0.9, "line_hashes": [ "88445180273439299012769333799440058365", "204459533252208510498402252337344603143", "242804298784797994959750523150324708257", "30724619255724339504407940450803554935" ] }, "signature_version": "v1" }, { "id": "CVE-2025-38325-9a0f8b12", "deprecated": false, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@3890da762a66191c440b0bd6e3ee45501edbb0c1", "signature_type": "Line", "target": { "file": "fs/smb/server/connection.h" }, "digest": { "threshold": 0.9, "line_hashes": [ "323383670278817445749098000838894255900", "115296316621410917382760233060158247192", "87471166449441929447820200206487859836", "157507557608227275841242720826310085306" ] }, "signature_version": "v1" }, { "id": "CVE-2025-38325-a8ffc073", "deprecated": false, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@3890da762a66191c440b0bd6e3ee45501edbb0c1", "signature_type": "Line", "target": { "file": "fs/smb/server/transport_tcp.c" }, "digest": { "threshold": 0.9, "line_hashes": [ "339859953421581233728110830185951643654", "42216723957993140289571416758258914255", "272538345436260570236111914585676768324", "73410468816089927868497431246945146954", "177824804126080367068793359880764014351", "258322533576490227975065776299712295702" ] }, "signature_version": "v1" }, { "id": "CVE-2025-38325-b8961064", "deprecated": false, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@3f3aae77280aad9f5acc6709c596148966f765c7", "signature_type": "Line", "target": { "file": "fs/smb/server/connection.c" }, "digest": { "threshold": 0.9, "line_hashes": [ "88445180273439299012769333799440058365", "204459533252208510498402252337344603143", "242804298784797994959750523150324708257", "30724619255724339504407940450803554935" ] }, "signature_version": "v1" }, { "id": "CVE-2025-38325-c24769e0", "deprecated": false, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@3890da762a66191c440b0bd6e3ee45501edbb0c1", "signature_type": "Line", "target": { "file": "fs/smb/server/transport_rdma.c" }, "digest": { "threshold": 0.9, "line_hashes": [ "316189347057007352918988251955683867482", "150394020193823172613640287743938160974", "288048458528466218522576011308374331461", "66375076237853796183165759950724335430", "91893991610124012758356455321163950896", "91568858244169031479917634228887924871", "241525723468916968558664570493928333727", "42716082317291405842099819683623739565", "156840614918328575695500103613400893965", "78986073501841696457683214110940381732", "181869467503446666497345895552533452524", "277657177028664364325951010731298912141" ] }, "signature_version": "v1" }, { "id": "CVE-2025-38325-c6b3e7fd", "deprecated": false, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a89f5fae998bdc4d0505306f93844c9ae059d50c", "signature_type": "Line", "target": { "file": "fs/smb/server/transport_rdma.c" }, "digest": { "threshold": 0.9, "line_hashes": [ "316189347057007352918988251955683867482", "150394020193823172613640287743938160974", "288048458528466218522576011308374331461", "66375076237853796183165759950724335430", "91893991610124012758356455321163950896", "91568858244169031479917634228887924871", "241525723468916968558664570493928333727", "42716082317291405842099819683623739565", "156840614918328575695500103613400893965", "78986073501841696457683214110940381732", "181869467503446666497345895552533452524", "277657177028664364325951010731298912141" ] }, "signature_version": "v1" }, { "id": "CVE-2025-38325-de428cbe", "deprecated": false, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@52f5a52dc17a4a7b4363ac03fe2c4ef26f020dc6", "signature_type": "Line", "target": { "file": "fs/smb/server/transport_tcp.c" }, "digest": { "threshold": 0.9, "line_hashes": [ "339859953421581233728110830185951643654", "42216723957993140289571416758258914255", "272538345436260570236111914585676768324", "73410468816089927868497431246945146954", "282281611224965306384992922093244150073", "258322533576490227975065776299712295702" ] }, "signature_version": "v1" }, { "id": "CVE-2025-38325-de543232", "deprecated": false, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@3890da762a66191c440b0bd6e3ee45501edbb0c1", "signature_type": "Function", "target": { "function": "ksmbd_conn_free", "file": "fs/smb/server/connection.c" }, "digest": { "function_hash": "306666032699516546801144089037027100444", "length": 342.0 }, "signature_version": "v1" }, { "id": "CVE-2025-38325-e1d8ef13", "deprecated": false, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@52f5a52dc17a4a7b4363ac03fe2c4ef26f020dc6", "signature_type": "Line", "target": { "file": "fs/smb/server/transport_rdma.c" }, "digest": { "threshold": 0.9, "line_hashes": [ "316189347057007352918988251955683867482", "150394020193823172613640287743938160974", "288048458528466218522576011308374331461", "66375076237853796183165759950724335430", "91893991610124012758356455321163950896", "91568858244169031479917634228887924871", "241525723468916968558664570493928333727", "42716082317291405842099819683623739565", "156840614918328575695500103613400893965", "78986073501841696457683214110940381732", "181869467503446666497345895552533452524", "277657177028664364325951010731298912141" ] }, "signature_version": "v1" }, { "id": "CVE-2025-38325-e2ae650e", "deprecated": false, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a89f5fae998bdc4d0505306f93844c9ae059d50c", "signature_type": "Line", "target": { "file": "fs/smb/server/connection.c" }, "digest": { "threshold": 0.9, "line_hashes": [ "88445180273439299012769333799440058365", "204459533252208510498402252337344603143", "242804298784797994959750523150324708257", "30724619255724339504407940450803554935" ] }, "signature_version": "v1" }, { "id": "CVE-2025-38325-e3018776", "deprecated": false, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@52f5a52dc17a4a7b4363ac03fe2c4ef26f020dc6", "signature_type": "Function", "target": { "function": "ksmbd_free_transport", "file": "fs/smb/server/transport_tcp.c" }, "digest": { "function_hash": "203838199667559333612348896566417274825", "length": 143.0 }, "signature_version": "v1" }, { "id": "CVE-2025-38325-e458cf55", "deprecated": false, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@3f3aae77280aad9f5acc6709c596148966f765c7", "signature_type": "Line", "target": { "file": "fs/smb/server/connection.h" }, "digest": { "threshold": 0.9, "line_hashes": [ "323383670278817445749098000838894255900", "115296316621410917382760233060158247192", "87471166449441929447820200206487859836", "157507557608227275841242720826310085306" ] }, "signature_version": "v1" }, { "id": "CVE-2025-38325-e4ec1251", "deprecated": false, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a89f5fae998bdc4d0505306f93844c9ae059d50c", "signature_type": "Function", "target": { "function": "free_transport", "file": "fs/smb/server/transport_rdma.c" }, "digest": { "function_hash": "326387991365308952672903192665387477701", "length": 1182.0 }, "signature_version": "v1" }, { "id": "CVE-2025-38325-f6b8f207", "deprecated": false, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@3f3aae77280aad9f5acc6709c596148966f765c7", "signature_type": "Function", "target": { "function": "ksmbd_conn_free", "file": "fs/smb/server/connection.c" }, "digest": { "function_hash": "306666032699516546801144089037027100444", "length": 342.0 }, "signature_version": "v1" }, { "id": "CVE-2025-38325-f81bbc3c", "deprecated": false, "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a89f5fae998bdc4d0505306f93844c9ae059d50c", "signature_type": "Function", "target": { "function": "ksmbd_conn_free", "file": "fs/smb/server/connection.c" }, "digest": { "function_hash": "306666032699516546801144089037027100444", "length": 342.0 }, "signature_version": "v1" } ]