{"push_id":1341770625,"size":1,"distinct_size":1,"ref":"refs/heads/mm6.0","head":"06af6b794a19c64ec24210dd42510fcba1334519","before":"fa571a654684e04c7c1097590790f50a9f8d1cdd","commits":[{"sha":"06af6b794a19c64ec24210dd42510fcba1334519","author":{"name":"Rainer Weikusat","email":"83eef5bb46142d818cc9ec09a206a7f5abed4070@mobileactivedefense.com"},"message":"af_unix: Guard against other == sk in unix_dgram_sendmsg\n\nThe unix_dgram_sendmsg routine use the following test\n\nif (unlikely(unix_peer(other) != sk && unix_recvq_full(other))) {\n\nto determine if sk and other are in an n:1 association (either\nestablished via connect or by using sendto to send messages to an\nunrelated socket identified by address). This isn't correct as the\nspecified address could have been bound to the sending socket itself or\nbecause this socket could have been connected to itself by the time of\nthe unix_peer_get but disconnected before the unix_state_lock(other). In\nboth cases, the if-block would be entered despite other == sk which\nmight either block the sender unintentionally or lead to trying to unlock\nthe same spin lock twice for a non-blocking send. Add a other != sk\ncheck to guard against this.\n\nIssue: CYNGNOS-3304\nChange-Id: I5c2468b5c50496c54b11fd16371746a5fba6afdd\nFixes: 7d267278a9ec (\"unix: avoid use-after-free in ep_remove_wait_queue\")\nReported-By: Philipp Hahn <pmhahn@pmhahn.de>\nSigned-off-by: Rainer Weikusat <rweikusat@mobileactivedefense.com>\nTested-by: Philipp Hahn <pmhahn@pmhahn.de>\nSigned-off-by: David S. Miller <davem@davemloft.net>","distinct":true,"url":"https://api.github.com/repos/TBoneWiz/kernel_samsung_mondrianwifi/commits/06af6b794a19c64ec24210dd42510fcba1334519"}]}
{"actor":{"display_login":"TBoneWiz"}}