android_kernel_motorola_sm6375/include
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Kuniyuki Iwashima 9ef7c24511 af_unix: Do not use atomic ops for unix_sk(sk)->inflight.
[ Upstream commit 97af84a6bba2ab2b9c704c08e67de3b5ea551bb2 ]

When touching unix_sk(sk)->inflight, we are always under
spin_lock(&unix_gc_lock).

Let's convert unix_sk(sk)->inflight to the normal unsigned long.

Mot-CRs-fixed: (CR)
CVE-Fixed: CVE-2024-26923
Bug: 336268889

Signed-off-by: Kuniyuki Iwashima <kuniyu@amazon.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://lore.kernel.org/r/20240123170856.41348-3-kuniyu@amazon.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Stable-dep-of: 47d8ac011fe1 ("af_unix: Fix garbage collector racing against connect()")
Signed-off-by: Sasha Levin <sashal@kernel.org>
Change-Id: I0cce0315d435a8f54400c30e4e59dca9271c147e
Signed-off-by: Gajjala Chakradhar <gajjalac@motorola.com>
Reviewed-on: https://gerrit.mot.com/2992980
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
(cherry picked from commit d851483056e4ab05f5290b91f85272bdf50413c5)
2024-08-14 03:51:38 -05:00
..
acpi
asm-generic LUR: Revert "UPSTREAM: mm: add generic p?d_leaf() macros" 2024-04-18 14:45:17 +08:00
clocksource
crypto
drm Add new macro MIPI_DSI_MSG_READ 2024-04-18 14:44:54 +08:00
dt-bindings iio:add bc12 type read iio. 2024-04-18 14:45:10 +08:00
keys
kvm
linux Revert "mm/madvise: support both pid and pidfd for process_madvise" 2024-04-18 14:45:19 +08:00
math-emu
media Merge android11-5.4.259+ (81334f2) into msm-5.4 2023-12-18 15:40:18 +05:30
misc
net af_unix: Do not use atomic ops for unix_sk(sk)->inflight. 2024-08-14 03:51:38 -05:00
pcmcia
ras
rdma
scsi scsi/ufs: porting Samsung TW + HPB feature 2024-04-18 14:45:03 +08:00
soc Merge android11-5.4.249+ (d57e792) into msm-5.4 2023-09-28 16:45:28 +05:30
sound usb audio: Let the usb sound card index from 1 2024-04-18 14:44:58 +08:00
target
trace Porting hooks from 5.10 and move zram to ko 2024-04-18 14:45:19 +08:00
uapi slatecom: add rpmsg glink support for slatecom_interface 2024-04-18 15:03:18 +08:00
vdso
video
xen
OWNERS