diff options
| author | Laura Abbott <[email protected]> | 2018-05-14 14:35:09 -0700 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2018-05-15 09:31:39 +0200 |
| commit | 45ad559a29629cb1c64ee636563c69b71524f077 (patch) | |
| tree | 103c0abae56db3ca427fb9fd4425ee69695204cc /tools/perf/scripts/python/bin | |
| parent | 832016dfc369d521d0dc4fd6b2a4442297fa357f (diff) | |
staging: android: ion: Switch to pr_warn_once in ion_buffer_destroy
Syzbot reported yet another warning with Ion:
WARNING: CPU: 0 PID: 1467 at drivers/staging/android/ion/ion.c:122
ion_buffer_destroy+0xd4/0x190 drivers/staging/android/ion/ion.c:122
Kernel panic - not syncing: panic_on_warn set ...
This is catching that a buffer was freed with an existing kernel mapping
still present. This can be easily be triggered from userspace by calling
DMA_BUF_SYNC_START without calling DMA_BUF_SYNC_END. Switch to a single
pr_warn_once to indicate the error without being disruptive.
Reported-by: [email protected]
Reported-by: syzbot <[email protected]>
Signed-off-by: Laura Abbott <[email protected]>
Cc: stable <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions