Linux 2.6.27.56
Subsystems (4)
I'm announcing the release of the 2.6.27.56 kernel.
All users of the 2.6.27 kernel series must upgrade.
The updated 2.6.27.y git tree can be found at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-2.6.27.y.git
and can be browsed at the normal kernel.org git web browser:
http://git.kernel.org/?p=linux/kernel/git/stable/linux-2.6.27.y.git;a=summarythanks,
greg k-h
------------
Makefile | 2 +- drivers/char/pcmcia/synclink_cs.c | 2 ++ drivers/scsi/gdth.c | 8 ++++++++ drivers/scsi/libsas/sas_ata.c | 1 + drivers/scsi/scsi_sysfs.c | 3 ++- kernel/sched.c | 7 +++---- 6 files changed, 17 insertions(+), 6 deletions(-)
Christof Schmitt (1):
Fix race when removing SCSI devices
Dan Carpenter (1):
gdth: integer overflow in ioctl
David Milburn (1):
libsas: fix NCQ mixing with non-NCQ
Greg Kroah-Hartman (1):
Linux 2.6.27.56
Mathieu Desnoyers (1):
sched: Fix string comparison in /proc/sched_features
Vasiliy Kulikov (1):
pcmcia: synclink_cs: fix information leak to userland
Makefile +1 -1
@@ -1,7 +1,7 @@ VERSION = 2 PATCHLEVEL = 6 SUBLEVEL = 27 -EXTRAVERSION = .55 +EXTRAVERSION = .56 NAME = Trembling Tortoise # *DOCUMENTATION*
drivers/char/pcmcia/synclink_cs.c +2 -0
@@ -4287,6 +4287,8 @@ static int hdlcdev_ioctl(struct net_device *dev, struct ifreq *ifr, int cmd)if (cmd !=SIOCWANDEV )return hdlc_ioctl (dev, ifr, cmd); +memset (&new_line,0 , size); +switch (ifr->ifr_settings.type) {case IF_GET_IFACE :/* return current sync_serial_settings */
drivers/scsi/gdth.c +8 -0
@@ -4155,6 +4155,14 @@ static int ioc_general(void __user *arg, char *cmnd) ha =gdth_find_ha (gen.ionode);if (!ha)return -EFAULT ; + +if (gen.data_len >INT_MAX ) +return -EINVAL ; +if (gen.sense_len >INT_MAX ) +return -EINVAL ; +if (gen.data_len + gen.sense_len >INT_MAX ) +return -EINVAL ; +if (gen.data_len + gen.sense_len !=0 ) {if (!(buf =gdth_ioctl_alloc (ha, gen.data_len + gen.sense_len, FALSE, &paddr)))
drivers/scsi/libsas/sas_ata.c +1 -0
@@ -346,6 +346,7 @@ static int sas_ata_scr_read(struct ata_port *ap, unsigned int sc_reg_in,static struct ata_port_operations sas_sata_ops = { .phy_reset = sas_ata_phy_reset, .post_internal_cmd = sas_ata_post_internal, + .qc_defer = ata_std_qc_defer, .qc_prep = ata_noop_qc_prep, .qc_issue = sas_ata_qc_issue, .qc_fill_rtf = sas_ata_qc_fill_rtf,
drivers/scsi/scsi_sysfs.c +2 -1
@@ -979,10 +979,11 @@ static void __scsi_remove_target(struct scsi_target *starget)list_for_each_entry (sdev, &shost->__devices, siblings) {if (sdev->channel != starget->channel || sdev->id != starget->id || - sdev->sdev_state ==SDEV_DEL ) +scsi_device_get (sdev))continue ;spin_unlock_irqrestore (shost->host_lock, flags);scsi_remove_device (sdev); +scsi_device_put (sdev);spin_lock_irqsave (shost->host_lock, flags); goto restart; }
kernel/sched.c +3 -4
@@ -744,7 +744,7 @@ sched_feat_write(struct file *filp, const char __user *ubuf, size_t cnt, loff_t *ppos) { char buf[64]; -char *cmp = buf; +char *cmp;int neg =0 ;int i;
@@ -755,6 +755,7 @@ sched_feat_write(struct file *filp, const char __user *ubuf,return -EFAULT ; buf[cnt] =0 ; + cmp =strstrip (buf);if (strncmp (buf,"NO_" ,3 ) ==0 ) { neg =1 ;
@@ -762,9 +763,7 @@ sched_feat_write(struct file *filp, const char __user *ubuf, }for (i =0 ; sched_feat_names[i]; i++) { -int len =strlen (sched_feat_names[i]); - -if (strncmp (cmp, sched_feat_names[i], len) ==0 ) { +if (strcmp (cmp, sched_feat_names[i]) ==0 ) {if (neg) sysctl_sched_features &= ~(1UL << i);else