Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 312420 Details for
Bug 392101
CVE-2007-6063 Linux Kernel isdn_net_setcfg buffer overflow
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Proposed backported patch for RHEL-2.1
patch (text/plain), 1.78 KB, created by
Eugene Teo (Security Response)
on 2008-07-23 05:46:18 UTC
(
hide
)
Description:
Proposed backported patch for RHEL-2.1
Filename:
MIME Type:
Creator:
Eugene Teo (Security Response)
Created:
2008-07-23 05:46:18 UTC
Size:
1.78 KB
patch
obsolete
>[RHEL2.1 PATCH] CVE-2007-6063 Linux kernel isdn_net_setcfg buffer overflow > >This is for bz#456360. > >Backport of upstream commit 0f13864e5b24d9cbe18d125d41bfa4b726a82e40 > >This patch replaces strcpy with strlcpy where the source strings can be >controlled from userspace. > >Signed-off-by: Eugene Teo <eteo@redhat.com> >--- > drivers/isdn/isdn_net.c | 8 ++++---- > 1 file changed, 4 insertions(+), 4 deletions(-) > >diff -uprN kernel-2.4.9.default/drivers/isdn/isdn_net.c kernel-2.4.9/drivers/isdn/isdn_net.c >--- kernel-2.4.9.default/drivers/isdn/isdn_net.c 2008-07-23 13:00:43.000000000 +0800 >+++ kernel-2.4.9/drivers/isdn/isdn_net.c 2008-07-23 13:24:58.000000000 +0800 >@@ -2145,7 +2145,7 @@ isdn_net_find_icall(int di, int ch, int > isdn_net_dev *p; > isdn_net_phone *n; > ulong flags; >- char nr[32]; >+ char nr[ISDN_MSNLEN]; > /* Search name in netdev-chain */ > save_flags(flags); > cli(); >@@ -2154,7 +2154,7 @@ isdn_net_find_icall(int di, int ch, int > nr[1] = '\0'; > printk(KERN_INFO "isdn_net: Incoming call without OAD, assuming '0'\n"); > } else >- strcpy(nr, setup->phone); >+ strlcpy(nr, setup->phone, ISDN_MSNLEN); > si1 = (int) setup->si1; > si2 = (int) setup->si2; > if (!setup->eazmsn[0]) { >@@ -2819,7 +2819,7 @@ isdn_net_setcfg(isdn_net_ioctl_cfg * cfg > chidx = -1; > } > } >- strcpy(lp->msn, cfg->eaz); >+ strlcpy(lp->msn, cfg->eaz, sizeof(lp->msn)); > lp->pre_device = drvidx; > lp->pre_channel = chidx; > lp->onhtime = cfg->onhtime; >@@ -2968,7 +2968,7 @@ isdn_net_addphone(isdn_net_ioctl_phone * > if (p) { > if (!(n = (isdn_net_phone *) kmalloc(sizeof(isdn_net_phone), GFP_KERNEL))) > return -ENOMEM; >- strcpy(n->num, phone->phone); >+ strlcpy(n->num, phone->phone, sizeof(n->num)); > n->next = p->local->phone[phone->outgoing & 1]; > p->local->phone[phone->outgoing & 1] = n; > return 0;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 392101
:
312419
| 312420