New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 736505 link

Starred by 4 users

Issue metadata

Status: Archived
Owner:
Last visit 15 days ago
Closed: Dec 20
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 2
Type: Bug


Show other hotlists

Hotlists containing this issue:
Chrome-Bug-Cleanup


Sign in to add a comment

device_jail possibly kobject_puts kobject for cdev before it's initialized

Project Member Reported by ejcaruso@chromium.org, Jun 23 2017

Issue description

From a kernel crash log:

3687 <5>[ 9542.446978]  [<ffffffffa369f21d>] vprintk+0x1d/0x1f
3688 <5>[ 9542.446994]  [<ffffffffa365d7c7>] warn_slowpath_common+0x75/0x98
3689 <5>[ 9542.447013]  [<ffffffffa386795f>] ? kobject_put+0x33/0x48
3690 <5>[ 9542.447028]  [<ffffffffa365d841>] warn_slowpath_fmt+0x57/0x73
3691 <5>[ 9542.447047]  [<ffffffffa3831099>] ? jail_open+0x24b/0x270
3692 <5>[ 9542.447063]  [<ffffffffa3831099>] ? jail_open+0x24b/0x270
3693 <5>[ 9542.447080]  [<ffffffffa386795f>] kobject_put+0x33/0x48
3694 <5>[ 9542.447096]  [<ffffffffa374b76b>] cdev_put+0x18/0x23
3695 <5>[ 9542.447112]  [<ffffffffa374b8dc>] chrdev_open+0x166/0x189
3696 <5>[ 9542.447128]  [<ffffffffa3815d3b>] ? fsnotify_perm+0x64/0x6f
3697 <5>[ 9542.447144]  [<ffffffffa374b776>] ? cdev_put+0x23/0x23
3698 <5>[ 9542.447161]  [<ffffffffa3746526>] do_dentry_open+0x25b/0x274

This more than likely means that jail_open failed, and ran into issues calling fput on its inner_file. Trying to kobject_put a kobject that isn't initialized yet throws a warning, which accounts for the vprintk and all of the things it calls later. However, this file is opened with dentry_open, so it would be rather strange for it to be uninitialized when we get a reference to it.
 
Components: OS>Kernel
Status: Assigned (was: Untriaged)
Hello!
This bug is receiving this notice because there has been no acknowledgment of its existence in quite a bit of time
- If you are currently working on this bug, please provide an update.
- If you are currently affected by this bug, please update with your current symptoms and relevant logs.

If there has been no updates provided by EOD Wednesday, 12/19/18 (5pm EST), this bug will be archived and can be re-opened at any time deemed necessary.

Thank you!
Status: Archived (was: Assigned)
Due to lack of action this bug has been Archived. If work is still being done on this issue or you are still experiencing this issue please feel free to re-open with the appropriate information.

Sign in to add a comment