Bug 9647
Summary: | NULL dereference in fs/nfs/super.c:nfs_xdev_get_sb() | ||
---|---|---|---|
Product: | File System | Reporter: | Adrian Bunk (bunk) |
Component: | NFS | Assignee: | Trond Myklebust (trondmy) |
Status: | CLOSED CODE_FIX | ||
Severity: | normal | ||
Priority: | P1 | ||
Hardware: | All | ||
OS: | Linux | ||
Kernel Version: | 2.6.24-rc6 | Subsystem: | |
Regression: | Yes | Bisected commit-id: | |
Bug Depends on: | |||
Bug Blocks: | 9243 | ||
Attachments: | NFS: Fix a possible Oops in fs/nfs/super.c |
Description
Adrian Bunk
2007-12-27 12:36:30 UTC
The NULL dereference is at the server->nfs_client->rpc_ops->dir_inode_ops. Created attachment 14265 [details]
NFS: Fix a possible Oops in fs/nfs/super.c
Fix the fix by dereferencing s->s_fs_info.
Also add in the same namespace Oops fix for NFSv4 in both the mountpoint
crossing case, and the referral case.
Please pass the brown bag...
Patch went as commit e9cc6c234bfe414ef36f484e3ad8be621854c440 into Lunus' tree. |