aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/gma500/ssh:/git@git.zx2c4.com
diff options
context:
space:
mode:
authorGaosheng Cui <cuigaosheng1@huawei.com>2022-08-22 10:29:05 +0800
committerPaul Moore <paul@paul-moore.com>2022-08-22 18:50:06 -0400
commitad982c3be4e60c7d39c03f782733503cbd88fd2a (patch)
tree8aef373f519457b05afa7f6cf105ac2646a84324 /drivers/gpu/drm/gma500/ssh:/git@git.zx2c4.com
parentLinux 6.0-rc2 (diff)
audit: fix potential double free on error path from fsnotify_add_inode_mark
Audit_alloc_mark() assign pathname to audit_mark->path, on error path from fsnotify_add_inode_mark(), fsnotify_put_mark will free memory of audit_mark->path, but the caller of audit_alloc_mark will free the pathname again, so there will be double free problem. Fix this by resetting audit_mark->path to NULL pointer on error path from fsnotify_add_inode_mark(). Cc: stable@vger.kernel.org Fixes: 7b1293234084d ("fsnotify: Add group pointer in fsnotify_init_mark()") Signed-off-by: Gaosheng Cui <cuigaosheng1@huawei.com> Reviewed-by: Jan Kara <jack@suse.cz> Signed-off-by: Paul Moore <paul@paul-moore.com>
Diffstat (limited to 'drivers/gpu/drm/gma500/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
5-25 11:09:14 -0700'>2014-05-25staging: android: describe use of memory barrier on sync.cNiv Yehezkel1-0/+4 2014-05-03staging: android: fix missing a blank line after declarationsSeunghun Lee1-0/+8 2014-02-07staging: android: sync: Signal pt before sync_timeline object gets destroyedPrakash Kamliya1-4/+4 2014-02-07staging: sync: Fix a race condition between release_obj and print_objAlistair Strachan1-3/+3 2013-08-15android/sync: use get_unused_fd_flags(O_CLOEXEC) instead of get_unused_fd()Yann Droneaud1-1/+1 2013-06-04staging: android: sync: fix up a sparse warningGreg Kroah-Hartman1-1/+1 2013-05-12staging: android: Replace seq_printf with seq_putsHema Prathaban1-8/+8 2013-05-12staging: android: Remove unnecessary bracesHema Prathaban1-2/+2 2013-03-29staging: sync: Add compat_ioctl handlers to sync driversDmitry Pervushin1-0/+1 2013-03-11staging: sync: fix return value check in sync_fence_alloc()Wei Yongjun1-1/+1 2013-03-04staging: sync: Fix timeout = 0 wait behaviorJamie Gennis1-4/+6 2013-03-04staging: sync: Don't log wait timeouts when timeout = 0Erik Gilling1-1/+1 2013-03-04staging: sync: Fix race condition between merge and signalØrjan Eide1-3/+7 2013-03-04staging: sync: Add tracepoint supportErik Gilling1-0/+11 2013-03-04staging: sync: Refactor sync debug printingErik Gilling1-2/+16 2013-03-04staging: sync: Use proper barriers when waiting indefinitelyErik Gilling1-1/+2 2013-03-04staging: sync: Update new fence status with sync_fence_signal_ptErik Gilling1-1/+13 2013-03-04staging: sync: Protect unlocked access to fence statusErik Gilling1-1/+17 2013-03-04staging: sync: Dump sync state on fence errorsErik Gilling1-1/+4 2013-03-04staging: sync: Improve timeout dump messagesErik Gilling1-1/+4 2013-03-04staging: sync: Dump sync state to console on timeoutErik Gilling1-2/+32 2013-03-04staging: sync: Change wait timeout to mirror poll semanticsErik Gilling1-3/+3 2013-03-04staging: sync: Fix error pathsRebecca Schultz Zavin1-2/+7 2013-03-04staging: sync: Add reference counting to timelinesErik Gilling1-16/+13 2013-03-04staging: sync: Add internal refcounting to fencesErik Gilling1-8/+46 2013-03-04staging: sync: Optimize fence mergesErik Gilling1-1/+51 2013-03-04staging: sync: Reorder sync_fence_releaseErik Gilling1-2/+2 2013-03-04staging: sync: Export sync API symbolsErik Gilling1-0/+14 2013-03-04staging: sync: Allow async waits to be canceledErik Gilling1-15/+31 2013-03-04staging: sync: Add poll supportErik Gilling1-0/+17 2013-03-04staging: sync: Add ioctl to get fence dataErik Gilling1-0/+81 2013-03-04staging: sync: Add debugfs supportErik Gilling1-2/+174 2013-03-04staging: sync: Add timestamps to sync_ptsErik Gilling1-0/+5 2013-03-04staging: sync: Add synchronization frameworkErik Gilling1-0/+525