Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1666026
| From | Richard Weinberger <richard@nod.at> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH] ubifs : fix oops when remounting with no_bulk_read. |
| Date | 2017-06-14 18:10 +0200 |
| Message-ID | <tSj1M-7nv-5@gated-at.bofh.it> (permalink) |
| References | <tRmEp-45C-9@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
karam.lee, Am 12.06.2017 um 03:46 schrieb karam.lee@lge.com: > From: "karam.lee" <karam.lee@lge.com> > > When remounting with the no_bulk_read option, > there is a problem accessing the "bulk_read buffer(bu.buf)" > which has already been freed. > > If the bulk_read option is enabled, > ubifs_tnc_bulk_read uses the pre-allocated bu.buf. > > While bu.buf is being used by ubifs_tnc_bulk_read, > remounting with no_bulk_read frees bu.buf. > > So I added code to check the use of "bu.buf" to avoid this situation. Agreed. We need to lock the buffer in this situation. Thanks for fixing this. Thanks, //richard
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH] ubifs : fix oops when remounting with no_bulk_read. karam.lee@lge.com - 2017-06-12 03:50 +0200 Re: [PATCH] ubifs : fix oops when remounting with no_bulk_read. Richard Weinberger <richard@nod.at> - 2017-06-14 18:10 +0200
csiph-web